updateBuildArea

fun updateBuildArea(buildArea: BuildArea)

Updates the build area of this player info object. This will ensure that no players outside of this box will be added to high resolution view.

Parameters

buildArea

the build area to assign.


fun updateBuildArea(zoneX: Int, zoneZ: Int, widthInZones: Int = BuildArea.DEFAULT_BUILD_AREA_SIZE, heightInZones: Int = BuildArea.DEFAULT_BUILD_AREA_SIZE)

Updates the build area of this player info object. This will ensure that no players outside of this box will be added to high resolution view.

Parameters

zoneX

the south-western zone x coordinate of the build area

zoneZ

the south-western zone z coordinate of the build area

widthInZones

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

heightInZones

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