Skip to content

AreaRect

class AreaRect(
fromX: Int,
fromZ: Int,
toX: Int,
toZ: Int
)
Example
val lShaped = listOf(
AreaRect(3200, 3200, 3209, 3203),
AreaRect(3200, 3204, 3203, 3209),
)
on_world_start { World.registerArea(WorldArea.create(AreaRef("garden"), AreaBounds(null, lShaped))) }