summaryrefslogtreecommitdiffstats
path: root/servers/navigation_server.h
diff options
context:
space:
mode:
authorAndrea Catania <info@andreacatania.com>2020-02-26 09:42:51 +0100
committerAndrea Catania <info@andreacatania.com>2020-02-26 09:42:51 +0100
commitc143b5c6770c690e46545e17c7b28bee698e5a3a (patch)
treebc84666863baaba727b7956a744ff1f162cc0ca4 /servers/navigation_server.h
parent2ca5f22bcea8fdbc8b490d9e8757573196578f5d (diff)
downloadredot-engine-c143b5c6770c690e46545e17c7b28bee698e5a3a.tar.gz
Flushes commands just before the navigation server is destroyed
Diffstat (limited to 'servers/navigation_server.h')
-rw-r--r--servers/navigation_server.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/servers/navigation_server.h b/servers/navigation_server.h
index d4d95d72d4..2587e53ab2 100644
--- a/servers/navigation_server.h
+++ b/servers/navigation_server.h
@@ -175,9 +175,11 @@ public:
/// Control activation of this server.
virtual void set_active(bool p_active) const = 0;
- /// Step the server
- /// NOTE: This function is not Threadsafe and MUST be called in single thread.
- virtual void step(real_t delta_time) = 0;
+ /// Process the collision avoidance agents.
+ /// The result of this process is needed by the physics server,
+ /// so this must be called in the main thread.
+ /// Note: This function is not thread safe.
+ virtual void process(real_t delta_time) = 0;
NavigationServer();
virtual ~NavigationServer();