Package spaceEngineers.util.generator.map

Types

Link copied to clipboard
interface BlockPlacementInformation
Link copied to clipboard
data class DataBlockPlacementInformation(    val blockId: DefinitionId,     val color: Vec3F? = null,     val customName: String? = null,     val offset: Vec3I = Vec3I.ZERO,     val orientations: List<Orientations> = listOf(Orientations())) : BlockPlacementInformation
Link copied to clipboard
enum ExplorationStates : Enum<ExplorationStates>
Link copied to clipboard
interface MapLayer
Link copied to clipboard
class MapPlacer(    val map: MapLayer,     val spaceEngineers: SpaceEngineers,     val floorPlacer: DataBlockPlacementInformation = DataBlockPlacementInformation( blockId = LargeHeavyBlockArmorBlock, orientations = listOf(Orientations()), color = null, ),     val batchCallable: BatchCallable? = null)
Link copied to clipboard
data class Orientations(val forward: Vec3I = Vec3I.FORWARD, val up: Vec3I = Vec3I.UP)
Link copied to clipboard
data class StatedPosition(val position: Position, val state: ExplorationStates)
Link copied to clipboard
class Surface(val initialPosition: Position, var type: SurfaceType = SurfaceType.UNKNOWN)
Link copied to clipboard
enum SurfaceType : Enum<SurfaceType>
Link copied to clipboard
class UselessFloorRemover(val cells: Array<Array<LabRecruitCell?>>, val cellMaker: (Int, Int) -> LabRecruitCell? = { _, _ -> UnnecessaryFloor })

Functions

Link copied to clipboard
fun <T> Array<Array<T>>.column(x: Int): Array<T>
Link copied to clipboard
fun <T> Array<Array<T>>.countIdenticalColumns(columnIndex: Int, column: Array<T>): Int
Link copied to clipboard
inline fun <T> Array<Array<T>>.countIdenticalRows(rowIndex: Int, row: Array<T>): Int
Link copied to clipboard
fun main()
fun main()
Link copied to clipboard
fun Array<Array<LabRecruitCell?>>.removeUselessFloors(): Array<Array<LabRecruitCell?>>
Link copied to clipboard
inline fun <T> Array<Array<T>>.row(y: Int): Array<T>
Link copied to clipboard
inline fun <T> Array<Array<T>>.simplifiedArray(): Array<Array<T>>
Link copied to clipboard
fun simplifiedMap(mapLayer: LabRecruitsMap): LabRecruitsMap
Link copied to clipboard
inline fun <T> Array<Array<T>>.simplifyColumns(): Array<Array<T>>
Link copied to clipboard
inline fun <T> Array<Array<T>>.simplifyRows(): Array<Array<T>>
Link copied to clipboard
fun LabRecruitsMap.toSimplified(): LabRecruitsMap
Link copied to clipboard
fun <T> Array<Array<T>>.uniqueColumns(): List<Int>
Link copied to clipboard
inline fun <T> Array<Array<T>>.uniqueRows(): List<Int>

Properties

Link copied to clipboard
val <T> Array<Array<T>>.height: Int
Link copied to clipboard
val BlockPlacementInformation.orientationForward: Vec3I
Link copied to clipboard
val BlockPlacementInformation.orientationUp: Vec3I
Link copied to clipboard
val <T> Array<Array<T>>.width: Int