Rename NavigationServer's free method to free_rid
This commit is contained in:
parent
14856b1dbd
commit
f24312380f
4 changed files with 6 additions and 6 deletions
|
@ -109,9 +109,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>
|
||||
|
|
|
@ -109,9 +109,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>
|
||||
|
|
|
@ -160,7 +160,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() {
|
||||
|
|
|
@ -73,7 +73,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 a new issue