mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 04:46:48 +01:00
Rename NavigationServer's free method to free_rid
This commit is contained in:
parent
8eb81855d9
commit
a9b108ca47
@ -108,9 +108,9 @@
|
||||
Sets the current velocity of the agent.
|
||||
</description>
|
||||
</method>
|
||||
<method name="free" qualifiers="const">
|
||||
<method name="free_rid" qualifiers="const">
|
||||
<return type="void" />
|
||||
<argument index="0" name="object" type="RID" />
|
||||
<argument index="0" name="rid" type="RID" />
|
||||
<description>
|
||||
Destroys the given RID.
|
||||
</description>
|
||||
|
@ -108,9 +108,9 @@
|
||||
Sets the current velocity of the agent.
|
||||
</description>
|
||||
</method>
|
||||
<method name="free" qualifiers="const">
|
||||
<method name="free_rid" qualifiers="const">
|
||||
<return type="void" />
|
||||
<argument index="0" name="object" type="RID" />
|
||||
<argument index="0" name="rid" type="RID" />
|
||||
<description>
|
||||
Destroys the given RID.
|
||||
</description>
|
||||
|
@ -161,7 +161,7 @@ void Navigation2DServer::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("agent_is_map_changed", "agent"), &Navigation2DServer::agent_is_map_changed);
|
||||
ClassDB::bind_method(D_METHOD("agent_set_callback", "agent", "receiver", "method", "userdata"), &Navigation2DServer::agent_set_callback, DEFVAL(Variant()));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("free", "object"), &Navigation2DServer::free);
|
||||
ClassDB::bind_method(D_METHOD("free_rid", "rid"), &Navigation2DServer::free);
|
||||
}
|
||||
|
||||
Navigation2DServer::Navigation2DServer() {
|
||||
|
@ -76,7 +76,7 @@ void NavigationServer::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("agent_is_map_changed", "agent"), &NavigationServer::agent_is_map_changed);
|
||||
ClassDB::bind_method(D_METHOD("agent_set_callback", "agent", "receiver", "method", "userdata"), &NavigationServer::agent_set_callback, DEFVAL(Variant()));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("free", "object"), &NavigationServer::free);
|
||||
ClassDB::bind_method(D_METHOD("free_rid", "rid"), &NavigationServer::free);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_active", "active"), &NavigationServer::set_active);
|
||||
ClassDB::bind_method(D_METHOD("process", "delta_time"), &NavigationServer::process);
|
||||
|
Loading…
Reference in New Issue
Block a user