TileLayer.getDirtyTileCoordinates()
Type | function |
Library | wattageTileEngine.TileLayer.* |
Return value | Table |
Keywords | |
See also |
Overview
This function retrieves the coordinates of dirty tiles in the layer.
Syntax
TileLayer.getDirtyTileCoordinates()
Examples
local dirtyCoords = tileLayerInstance.getDirtyTileCoordinates()
print("Dirty Coordinates")
for i=1,#dirtyCoords do
local coord = dirtyCoords[i]
print("Row: " .. coord.row .. ", " .. "Column: " .. coord.column)
end