diff options
author | Josh Jones <kilauea.jones@gmail.com> | 2023-01-27 20:15:10 -0800 |
---|---|---|
committer | Josh Jones <kilauea.jones@gmail.com> | 2023-01-27 23:14:36 -0800 |
commit | 22f9ef19e1accd5d5e36ce30589ba3edd5c3d0d0 (patch) | |
tree | 5cac93ecc341df5c1c85494d500bf6fa84a26cd5 /servers/navigation_server_2d.h | |
parent | a43db5afa4bbec4772be2f296931a6d44bb4cbb3 (diff) | |
download | redot-engine-22f9ef19e1accd5d5e36ce30589ba3edd5c3d0d0.tar.gz |
Use Callable for Navigation Agent callbacks
Diffstat (limited to 'servers/navigation_server_2d.h')
-rw-r--r-- | servers/navigation_server_2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/navigation_server_2d.h b/servers/navigation_server_2d.h index b50808cddf..cd18476182 100644 --- a/servers/navigation_server_2d.h +++ b/servers/navigation_server_2d.h @@ -223,7 +223,7 @@ public: virtual bool agent_is_map_changed(RID p_agent) const; /// Callback called at the end of the RVO process - virtual void agent_set_callback(RID p_agent, ObjectID p_object_id, StringName p_method, Variant p_udata = Variant()); + virtual void agent_set_callback(RID p_agent, Callable p_callback); virtual void query_path(const Ref<NavigationPathQueryParameters2D> &p_query_parameters, Ref<NavigationPathQueryResult2D> p_query_result) const; |