BuildArea

value class BuildArea

The build area class is responsible for tracking the currently-rendered map of a given player. Everything sent via world entity info is tracked as relative to the build area.

Constructors

Link copied to clipboard
constructor(zoneX: Int, zoneZ: Int, widthInZones: Int = DEFAULT_BUILD_AREA_SIZE, heightInZones: Int = DEFAULT_BUILD_AREA_SIZE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the build area height in zones (typically 13, meaning 104 tiles)

Link copied to clipboard

the build area width in zones (typically 13, meaning 104 tiles)

Link copied to clipboard
val zoneX: Int

the south-western zone x coordinate of the build area

Link copied to clipboard
val zoneZ: Int

the south-western zone z coordinate of the build area