withTileAt

abstract fun withTileAt(position: Position, tile: Tile): TileImage

Returns a new TileImage with the supplied tile set at the given position. Has no effect if position is outside of this TileImage's size.

Sources

(source)
Link copied to clipboard