TileSet

class TileSet

A set of BmpSlice where all share a width and height. For performance’s sake, ideally, all the slices should be part of the same Bitmap.

Used along TileMapData to represent tiles.

Types

Link copied to clipboard
object Companion

Properties

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

height of each tile

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

width of each tile

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