TileLayer.updateTile()
Type | function |
Library | wattageTileEngine.TileLayer.* |
Return value | VOID |
Keywords | |
See also |
Overview
This function will update the tile at the specified row and column.
Syntax
TileLayer.updateTile( row, column, newValue )
row (required)
Number. The row of the tile to update.
column (required)
Number. The column of the tile to update.
newValue (required)
Tile. The new value for the tile at the specified row and column.
Examples
tileLayerInstance.updateTile(10, 15, Tile.new({
resourceKey = "tree"
}))