tileSet

fun TiledMap.tileSet(tilesetName: String): TiledMapTileSet

Extension method to retrieve a TiledMapTileSet of the TiledMap by name. If the tileset does not exist then this method throws a MissingTileSetException.

Return

TiledMapTileSet matching the given name.

Parameters

tilesetName

name of the TiledMapTileSet.

Throws

if the tileset with the given tilesetName does not exist.