Merge pull request #98587 from skyace65/SurroundingCells

Improve `TileMapLayer` get surrounding cells description
This commit is contained in:
Thaddeus Crews 2024-11-12 09:27:46 -06:00
commit 47e7fb4406
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -135,7 +135,7 @@
<return type="Vector2i[]" />
<param index="0" name="coords" type="Vector2i" />
<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>
</method>
<method name="get_used_cells" qualifiers="const">