From 62c33688cf2f48d7669790a89e3d1cdec16798be Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Wed, 5 Oct 2022 13:26:15 -0400 Subject: ai manager --- godot/scripts/AIManager.gd | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 godot/scripts/AIManager.gd (limited to 'godot') 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 -- cgit v1.2.3