transform

open override fun transform(transformer: (Position, Tile) -> Tile)

Transforms all of the Tiles in this TileGraphics with the given transformer and overwrites them with the results of calling transformer.

Sources

(source)
Link copied to clipboard