瀏覽代碼

Merge pull request #98587 from skyace65/SurroundingCells

Improve `TileMapLayer` get surrounding cells description
Thaddeus Crews 10 月之前
父節點
當前提交
47e7fb4406
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/TileMapLayer.xml

+ 1 - 1
doc/classes/TileMapLayer.xml

@@ -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">