Skip to content

five-on-it / packages/sim/src/world / SafeZone

Interface: SafeZone ​

Defined in: packages/sim/src/world.ts:89

An area of the level (m, the game's frame) where players are safe from each other: a game's safe zone, a circle or a polygon inside its circle.

Properties ​

polygon? ​

optional polygon?: readonly object[]

Defined in: packages/sim/src/world.ts:94

A polygon zone's outline, inside the circle.


radius ​

radius: number

Defined in: packages/sim/src/world.ts:92


x ​

x: number

Defined in: packages/sim/src/world.ts:90


z ​

z: number

Defined in: packages/sim/src/world.ts:91