DungeonScan

Functions

Link copied to clipboard
fun getCore(x: Int, z: Int): Int
Link copied to clipboard
fun getRoomCentre(posX: Int, posZ: Int): Pair<Int, Int>
Link copied to clipboard

Scans the dungeon from the loaded chunks in the world and updates Dungeon.dungeonList based on that. When all chunks are loaded Dungeon.fullyScanned will be set to true afterwards.