summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorIgor Kordiukiewicz <igorkordiukiewicz@gmail.com>2022-03-01 19:25:18 +0100
committerIgor Kordiukiewicz <igorkordiukiewicz@gmail.com>2022-03-02 12:13:45 +0100
commit8f49150b1018d4da52cd1e5958f505b46f67e5e1 (patch)
tree36ed200a09f6bb6006f589d1b3256b4af7aa4c5f /doc/classes
parent3827b4ffdf6fb74d6e2898a169baae4da00dc5da (diff)
Changed TileMap::set_cell alternative_tile default value to 0
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/TileMap.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml
index e5ecff178b..9453bb9e2a 100644
--- a/doc/classes/TileMap.xml
+++ b/doc/classes/TileMap.xml
@@ -57,6 +57,14 @@
Clears all cells on the given layer.
</description>
</method>
+ <method name="erase_cell">
+ <return type="void" />
+ <argument index="0" name="layer" type="int" />
+ <argument index="1" name="coords" type="Vector2i" />
+ <description>
+ Erases the cell on layer [code]layer[/code] at coordinates [code]coords[/code].
+ </description>
+ </method>
<method name="fix_invalid_tiles">
<return type="void" />
<description>
@@ -227,7 +235,7 @@
<argument index="1" name="coords" type="Vector2i" />
<argument index="2" name="source_id" type="int" default="-1" />
<argument index="3" name="atlas_coords" type="Vector2i" default="Vector2i(-1, -1)" />
- <argument index="4" name="alternative_tile" type="int" default="-1" />
+ <argument index="4" name="alternative_tile" type="int" default="0" />
<description>
Sets the tile indentifiers for the cell on layer [code]layer[/code] at coordinates [code]coords[/code]. Each tile of the [TileSet] is identified using three parts:
- The source identifier [code]source_id[/code] identifies a [TileSetSource] identifier. See [method TileSet.set_source_id],