TileSet

class TileSet(val tilesMap: IntMap<TileSetTileInfo>, val width: Int = if (tilesMap.size == 0) 0 else tilesMap.firstValue().slice.width, val height: Int = if (tilesMap.size == 0) 0 else tilesMap.firstValue().slice.height)

Constructors

Link copied to clipboard
constructor(tilesMap: IntMap<TileSetTileInfo>, width: Int = if (tilesMap.size == 0) 0 else tilesMap.firstValue().slice.width, height: Int = if (tilesMap.size == 0) 0 else tilesMap.firstValue().slice.height)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
fun clone(): TileSet
Link copied to clipboard
operator fun get(index: Int): BmpSlice?
Link copied to clipboard
Link copied to clipboard
fun getSlice(index: Int): BmpSlice?
Link copied to clipboard
open override fun toString(): String