summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-06-16 12:46:51 +0200
committerGitHub <noreply@github.com>2022-06-16 12:46:51 +0200
commit1ad6fade00ab3f43efc87038abeab922eb8bdd4c (patch)
tree5af34f35e9176cd5a57e24bf9f9d32d6b2112004 /doc/classes
parent7cc99d213f4eb3b73f9169140dff2f7a6f02065f (diff)
parentb18a018ad23f95b1f3cdedc74c14e09d666dc346 (diff)
Merge pull request #58669 from theraot/ASar2Dbidirectional
AStar2D bidirectional
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/AStar2D.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/classes/AStar2D.xml b/doc/classes/AStar2D.xml
index 7a27568d30..e4e049d5ef 100644
--- a/doc/classes/AStar2D.xml
+++ b/doc/classes/AStar2D.xml
@@ -52,8 +52,9 @@
<return type="bool" />
<argument index="0" name="id" type="int" />
<argument index="1" name="to_id" type="int" />
+ <argument index="2" name="bidirectional" type="bool" default="true" />
<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>
</method>
<method name="clear">
@@ -89,8 +90,9 @@
<return type="void" />
<argument index="0" name="id" type="int" />
<argument index="1" name="to_id" type="int" />
+ <argument index="2" name="bidirectional" type="bool" default="true" />
<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>
</method>
<method name="get_available_point_id" qualifiers="const">