mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 15:50:45 +00:00
Merge pull request #98587 from skyace65/SurroundingCells
Improve `TileMapLayer` get surrounding cells description
This commit is contained in:
commit
47e7fb4406
@ -135,7 +135,7 @@
|
|||||||
<return type="Vector2i[]" />
|
<return type="Vector2i[]" />
|
||||||
<param index="0" name="coords" type="Vector2i" />
|
<param index="0" name="coords" type="Vector2i" />
|
||||||
<description>
|
<description>
|
||||||
Returns the list of all neighboring cells to the one at [param coords].
|
Returns the list of all neighboring cells to the one at [param coords]. Any neighboring cell is one that is touching edges, so for a square cell 4 cells would be returned, for a hexagon 6 cells are returned.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_used_cells" qualifiers="const">
|
<method name="get_used_cells" qualifiers="const">
|
||||||
|
Loading…
Reference in New Issue
Block a user