Package-level declarations

Types

Link copied to clipboard
data class TileMapData(var data: IntArray2, var tileSet: TileSet? = null, val maskData: Int = 268435455, val maskFlipX: Int = 1 shl 31, val maskFlipY: Int = 1 shl 30, val maskRotate: Int = 1 shl 29)
Link copied to clipboard
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)
Link copied to clipboard
data class TileSetAnimationFrame(val tileId: Int, val duration: TimeSpan)
Link copied to clipboard
data class TileSetTileInfo(val id: Int, val slice: BmpSlice, val frames: List<TileSetAnimationFrame> = emptyList(), val collision: TileShapeInfo? = null) : Extra
Link copied to clipboard
Link copied to clipboard
data class TileShapeInfoImpl(val type: HitTestDirectionFlags, val shape: Shape2D, val transform: Matrix) : TileShapeInfo

Functions

Link copied to clipboard
Link copied to clipboard
fun TileMapData.renderTo(out: Bitmap32, x: Int, y: Int)