summaryrefslogtreecommitdiff
path: root/godot/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'godot/scripts')
-rw-r--r--godot/scripts/AIManager.gd13
1 files changed, 13 insertions, 0 deletions
diff --git a/godot/scripts/AIManager.gd b/godot/scripts/AIManager.gd
new file mode 100644
index 0000000..e93067b
--- /dev/null
+++ b/godot/scripts/AIManager.gd
@@ -0,0 +1,13 @@
+extends Object
+
+var calcs_per_tick: int = 15
+var WORLD_MAP_RID
+# Called when the node enters the scene tree for the first time.
+func _ready():
+ pass # Replace with function body.
+
+func find_path() -> PoolVector3Array:
+ return NavigationServer.map_get_path(WORLD_MAP_RID, start_pos, end_pos, true)
+# Called every frame. 'delta' is the elapsed time since the previous frame.
+#func _process(delta):
+# pass