Rename Navigation uses of 'location' to 'position'
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
This commit is contained in:
parent
a3a42159e3
commit
bf1571979c
27 changed files with 353 additions and 291 deletions
|
|
@ -144,14 +144,14 @@
|
|||
<method name="link_create">
|
||||
<return type="RID" />
|
||||
<description>
|
||||
Create a new link between two locations on a map.
|
||||
Create a new link between two positions on a map.
|
||||
</description>
|
||||
</method>
|
||||
<method name="link_get_end_location" qualifiers="const">
|
||||
<method name="link_get_end_position" qualifiers="const">
|
||||
<return type="Vector3" />
|
||||
<param index="0" name="link" type="RID" />
|
||||
<description>
|
||||
Returns the ending location of this [code]link[/code].
|
||||
Returns the ending position of this [code]link[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="link_get_enter_cost" qualifiers="const">
|
||||
|
|
@ -182,11 +182,11 @@
|
|||
Returns the [code]ObjectID[/code] of the object which manages this link.
|
||||
</description>
|
||||
</method>
|
||||
<method name="link_get_start_location" qualifiers="const">
|
||||
<method name="link_get_start_position" qualifiers="const">
|
||||
<return type="Vector3" />
|
||||
<param index="0" name="link" type="RID" />
|
||||
<description>
|
||||
Returns the starting location of this [code]link[/code].
|
||||
Returns the starting position of this [code]link[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="link_get_travel_cost" qualifiers="const">
|
||||
|
|
@ -211,12 +211,12 @@
|
|||
Sets whether this [code]link[/code] can be travelled in both directions.
|
||||
</description>
|
||||
</method>
|
||||
<method name="link_set_end_location">
|
||||
<method name="link_set_end_position">
|
||||
<return type="void" />
|
||||
<param index="0" name="link" type="RID" />
|
||||
<param index="1" name="location" type="Vector3" />
|
||||
<param index="1" name="position" type="Vector3" />
|
||||
<description>
|
||||
Sets the exit location for the [code]link[/code].
|
||||
Sets the exit position for the [code]link[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="link_set_enter_cost">
|
||||
|
|
@ -251,12 +251,12 @@
|
|||
Set the [code]ObjectID[/code] of the object which manages this link.
|
||||
</description>
|
||||
</method>
|
||||
<method name="link_set_start_location">
|
||||
<method name="link_set_start_position">
|
||||
<return type="void" />
|
||||
<param index="0" name="link" type="RID" />
|
||||
<param index="1" name="location" type="Vector3" />
|
||||
<param index="1" name="position" type="Vector3" />
|
||||
<description>
|
||||
Sets the entry location for this [code]link[/code].
|
||||
Sets the entry position for this [code]link[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="link_set_travel_cost">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue