Room

class Room(val x: Int, val z: Int, var data: RoomData) : Tile

Constructors

Link copied to clipboard
fun Room(x: Int, z: Int, configData: RoomConfigData)
Link copied to clipboard
fun Room(x: Int, z: Int, data: RoomData)

Properties

Link copied to clipboard
open override val color: Color
Link copied to clipboard
val column: Int

Column in the dungeonList

Link copied to clipboard
var core: Int? = null

Core of this tile.

Link copied to clipboard
Link copied to clipboard
var isSeparator: Boolean = false
Link copied to clipboard
var isUnique: Boolean = false

Marks this tile as "unique". Unique is only relevant for rooms consisting of multiple tiles. All 1x1 rooms are unique by default. For rooms with multiple tiles the first Tile in Dungeon.dungeonList will be the unique one. This corresponds to the most west and north tile of a room. (west prioritized over north) The unique tile is the one which has the checkmark on the map.

Link copied to clipboard
val row: Int

Row in the duneonList.

Link copied to clipboard
var scanned: Boolean = true
Link copied to clipboard
Link copied to clipboard
var visited: Boolean = false
Link copied to clipboard
val x: Int
Link copied to clipboard
val z: Int