summaryrefslogtreecommitdiff
path: root/modules/navigation/godot_navigation_server.h
diff options
context:
space:
mode:
authorsmix8 <52464204+smix8@users.noreply.github.com>2022-06-26 12:43:01 +0200
committersmix8 <52464204+smix8@users.noreply.github.com>2022-09-20 22:20:11 +0200
commit63dcb9aa80a2c77053033ed3c39b4fe5ed6f229b (patch)
tree1799324487b97a8bf737cbdd561e0eb89ce26148 /modules/navigation/godot_navigation_server.h
parentd1be14a9cbb10721d998a936169a55fa464dc687 (diff)
Add NavigationPathQuery
Adds NavigationPathQueryParameters objects that can be used with NavigationServer.query_path() to query a customized navigation path.
Diffstat (limited to 'modules/navigation/godot_navigation_server.h')
-rw-r--r--modules/navigation/godot_navigation_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/navigation/godot_navigation_server.h b/modules/navigation/godot_navigation_server.h
index e6ef7e3bb1..ab5e722d35 100644
--- a/modules/navigation/godot_navigation_server.h
+++ b/modules/navigation/godot_navigation_server.h
@@ -175,6 +175,8 @@ public:
void flush_queries();
virtual void process(real_t p_delta_time) override;
+
+ virtual NavigationUtilities::PathQueryResult _query_path(const NavigationUtilities::PathQueryParameters &p_parameters) const override;
};
#undef COMMAND_1