to Tile Graphics
fun Iterable<Pair<Position, Tile>>.toTileGraphics(size: Size, tileset: TilesetResource): TileGraphics
Content copied to clipboard
Transforms an Iterable of Position to Tiles to a TileGraphics with the given size and tileset.
fun Map<Position, Tile>.toTileGraphics(size: Size, tileset: TilesetResource): TileGraphics
Content copied to clipboard
Transforms the given Map to a TileGraphics with the given size and tileset.