MapUtils

object MapUtils

Functions

Link copied to clipboard
fun getMapData(): MapData?
Link copied to clipboard

Returns the room size of dungeon rooms in pixels. Based on the size of the start room in the map item.

Link copied to clipboard

Returns the Start corner of the dungeon. This requires the rooms size to be set correctly first.

Properties

Link copied to clipboard
var calibrated: Boolean = false
Link copied to clipboard
Link copied to clipboard
val Vec4b.mapX: Int
Link copied to clipboard
val Vec4b.mapZ: Int
Link copied to clipboard
var roomSize: Int = 16

Rooms have size 18x18 pixels on the vanilla map in floors 1..3, and 16x16 obove that.

Link copied to clipboard
Link copied to clipboard
val Vec4b.yaw: Float