summaryrefslogtreecommitdiff
path: root/doc/classes/TileMap.xml
diff options
context:
space:
mode:
authorskyace65 <trekie96@hotmail.com>2020-08-18 09:11:24 -0400
committerskyace65 <trekie96@hotmail.com>2020-08-18 10:37:05 -0400
commit43ab91ca02b09d81f92f8a5c5cac337a03ece6ef (patch)
tree323a5048bd3aa54dbf3422e7dbbb0dbdebb044e0 /doc/classes/TileMap.xml
parentf97280a0127950f5ae7d2e38f239ab9633afb041 (diff)
Add defaults to tilemap set_cell function example
Diffstat (limited to 'doc/classes/TileMap.xml')
-rw-r--r--doc/classes/TileMap.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml
index 9df2b656f4..8777841e80 100644
--- a/doc/classes/TileMap.xml
+++ b/doc/classes/TileMap.xml
@@ -166,7 +166,7 @@
If you need these to be immediately updated, you can call [method update_dirty_quadrants].
Overriding this method also overrides it internally, allowing custom logic to be implemented when tiles are placed/removed:
[codeblock]
- func set_cell(x, y, tile, flip_x, flip_y, transpose, autotile_coord)
+ func set_cell(x, y, tile, flip_x=false, flip_y=false, transpose=false, autotile_coord=Vector2())
# Write your custom logic here.
# To call the default method:
.set_cell(x, y, tile, flip_x, flip_y, transpose, autotile_coord)