Merge pull request #92123 from timothyqiu/estimate-end

Change param name of AStar's `_estimate_cost` method
This commit is contained in:
Rémi Verschelde
2024-08-28 00:10:47 +02:00
7 changed files with 24 additions and 24 deletions

View File

@ -41,7 +41,7 @@
<method name="_estimate_cost" qualifiers="virtual const">
<return type="float" />
<param index="0" name="from_id" type="Vector2i" />
<param index="1" name="to_id" type="Vector2i" />
<param index="1" name="end_id" type="Vector2i" />
<description>
Called when estimating the cost between a point and the path's ending point.
Note that this function is hidden in the default [AStarGrid2D] class.