updateBuildArea

fun updateBuildArea(buildArea: BuildArea)

Updates the build area for this player. This should always perfectly correspond to the actual build area that is sent via REBUILD_NORMAL or REBUILD_REGION packets.

Parameters

buildArea

the build area in which everything is rendered.


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

Updates the build area for this player. This should always perfectly correspond to the actual build area that is sent via REBUILD_NORMAL or REBUILD_REGION packets.