diff options
Diffstat (limited to 'Stages/Paths/PathNode.gd')
-rw-r--r-- | Stages/Paths/PathNode.gd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Stages/Paths/PathNode.gd b/Stages/Paths/PathNode.gd new file mode 100644 index 0000000..6bc7853 --- /dev/null +++ b/Stages/Paths/PathNode.gd @@ -0,0 +1,18 @@ +class_name PathNode +extends Node2D + + +@export var next_node: Node2D + +var path_position: Vector2 + + +func _ready(): + path_position = $PathPosition.global_position + + +func get_rpc_properties(): + return { + "global_position": null, + "path_position": null, + } |