diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-05-11 23:05:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 23:05:15 +0200 |
commit | 66b0b0c153aa6b811c4ea3c0e5edddd7f2cb8062 (patch) | |
tree | 42039e191e666f45ea83d095c39de72763e8f7af /doc | |
parent | 17099ecae737c71dbe9b2f6a7c62482382c95b54 (diff) | |
parent | c64c45ccafd886f4dab5f09f629b064096e206f3 (diff) |
Merge pull request #38635 from Calinou/tilemap-rename-ysort-index
Rename various TileMap methods/properties for clarity and consistency
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/TileMap.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index bfe6983f06..9df2b656f4 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -80,13 +80,13 @@ Returns a [Vector2] array with the positions of all cells containing a tile from the tileset (i.e. a tile index different from [code]-1[/code]). </description> </method> - <method name="get_used_cells_by_id" qualifiers="const"> + <method name="get_used_cells_by_index" qualifiers="const"> <return type="Vector2i[]"> </return> - <argument index="0" name="id" type="int"> + <argument index="0" name="index" type="int"> </argument> <description> - Returns an array of all cells with the given tile [code]id[/code]. + Returns an array of all cells with the given tile [code]index[/code]. </description> </method> <method name="get_used_rect"> @@ -273,7 +273,7 @@ <member name="cell_tile_origin" type="int" setter="set_tile_origin" getter="get_tile_origin" enum="TileMap.TileOrigin" default="0"> Position for tile origin. See [enum TileOrigin] for possible values. </member> - <member name="cell_y_sort" type="bool" setter="set_y_sort_mode" getter="is_y_sort_mode_enabled" default="false"> + <member name="cell_y_sort" type="bool" setter="set_y_sort_enabled" getter="is_y_sort_enabled" default="false"> If [code]true[/code], the TileMap's children will be drawn in order of their Y coordinate. </member> <member name="centered_textures" type="bool" setter="set_centered_textures" getter="is_centered_textures_enabled" default="false"> |