FloorBuilder

class FloorBuilder(val mapBuilder: MapBuilder, val y: Int)

Constructors

Link copied to clipboard
fun FloorBuilder(mapBuilder: MapBuilder, y: Int)

Functions

Link copied to clipboard
fun add(    x: Int,     z: Int,     cell: MutableCell)
fun add(    x: Int,     zRange: Iterable<Int>,     cell: MutableCell)
fun add(    xRange: IntRange,     zRange: IntRange,     cell: MutableCell)
Link copied to clipboard
fun addRailing(    cell: MutableCell = MutableCell.WALL,     straight: DefinitionId = DefinitionIds.CubeBlock.RailingStraight,     corner: DefinitionId = DefinitionIds.CubeBlock.RailingCorner)
Link copied to clipboard
fun fill(cell: MutableCell): FloorBuilder
Link copied to clipboard
fun fillMissing(cell: MutableCell): FloorBuilder
Link copied to clipboard
operator fun get(x: Int, z: Int): MutableCell?
Link copied to clipboard
fun getBoundaries(): Boundaries
Link copied to clipboard
fun position(x: Int, z: Int): Vec3I
Link copied to clipboard
fun remove(x: Int, z: Int)
fun remove(x: IntRange, z: Int)
fun remove(xRange: IntRange, zRange: IntRange)
Link copied to clipboard
fun surround(cell: MutableCell, boundaries: Boundaries = getBoundaries())

Properties

Link copied to clipboard
val mapBuilder: MapBuilder
Link copied to clipboard
val y: Int