Updating AStar2D documentation to mention the new bidirectional paramter

(cherry picked from commit b18a018ad2)
This commit is contained in:
Theraot 2022-03-01 17:02:04 -05:00 committed by Rémi Verschelde
parent 6007d7f0ed
commit 69653a4b9d
1 changed files with 4 additions and 2 deletions

View File

@ -46,8 +46,9 @@
<return type="bool" /> <return type="bool" />
<argument index="0" name="id" type="int" /> <argument index="0" name="id" type="int" />
<argument index="1" name="to_id" type="int" /> <argument index="1" name="to_id" type="int" />
<argument index="2" name="bidirectional" type="bool" default="true" />
<description> <description>
Returns whether there is a connection/segment between the given points. Returns whether there is a connection/segment between the given points. If [code]bidirectional[/code] is [code]false[/code], returns whether movement from [code]id[/code] to [code]to_id[/code] is possible through this segment.
</description> </description>
</method> </method>
<method name="clear"> <method name="clear">
@ -75,8 +76,9 @@
<return type="void" /> <return type="void" />
<argument index="0" name="id" type="int" /> <argument index="0" name="id" type="int" />
<argument index="1" name="to_id" type="int" /> <argument index="1" name="to_id" type="int" />
<argument index="2" name="bidirectional" type="bool" default="true" />
<description> <description>
Deletes the segment between the given points. Deletes the segment between the given points. If [code]bidirectional[/code] is [code]false[/code], only movement from [code]id[/code] to [code]to_id[/code] is prevented, and a unidirectional segment possibly remains.
</description> </description>
</method> </method>
<method name="get_available_point_id" qualifiers="const"> <method name="get_available_point_id" qualifiers="const">