From 4597189f157834c80f56b12b701fd2b2a15c2798 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 8 Sep 2024 22:35:06 +0200 Subject: next commit --- Stages/Paths/PathNode.gd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Stages/Paths/PathNode.gd (limited to 'Stages/Paths/PathNode.gd') 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, + } -- cgit v1.2.3