LabRecruitsMap

class LabRecruitsMap(    val cells: Array<Array<LabRecruitCell?>>,     val width: Int = cells.size,     val height: Int = cells.first().size,     val mappings: Map<Button, Set<Door>>,     val doors: Map<DoorId, Door>,     val buttons: Map<ButtonId, Button>) : MapLayer

Constructors

Link copied to clipboard
fun LabRecruitsMap(    cells: Array<Array<LabRecruitCell?>>,     width: Int = cells.size,     height: Int = cells.first().size,     mappings: Map<Button, Set<Door>>,     doors: Map<DoorId, Door>,     buttons: Map<ButtonId, Button>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun doorsByButtonId(buttonId: ButtonId): Set<Door>
Link copied to clipboard
open operator override fun get(x: Int, y: Int): BlockPlacementInformation?
Link copied to clipboard
fun placeCustomBlock(cell: LabRecruitCell, replacedCell: LabRecruitCell = Wall)
Link copied to clipboard
fun placeGenerator()
Link copied to clipboard
fun placeGravityGenerator()
Link copied to clipboard
fun toCsv(): String

Properties

Link copied to clipboard
val buttons: Map<ButtonId, Button>
Link copied to clipboard
val cells: Array<Array<LabRecruitCell?>>
Link copied to clipboard
val doors: Map<DoorId, Door>
Link copied to clipboard
open override val height: Int
Link copied to clipboard
val mappings: Map<Button, Set<Door>>
Link copied to clipboard
open override val width: Int

Extensions

Link copied to clipboard
fun LabRecruitsMap.toSimplified(): LabRecruitsMap