Skip to content

five-on-it / packages/world/src/spots / Spot

Interface: Spot ​

Defined in: packages/world/src/spots.ts:31

A spot of a level, in the world.

Properties ​

kind ​

kind: SpotKind

Defined in: packages/world/src/spots.ts:32


owner ​

owner: number

Defined in: packages/world/src/spots.ts:38

The placement it comes with.


to? ​

optional to?: object

Defined in: packages/world/src/spots.ts:40

A vendor's counter: where its customers stand, and the shop is (m, the world).

x ​

x: number

z ​

z: number


x ​

x: number

Defined in: packages/world/src/spots.ts:33


y ​

y: number

Defined in: packages/world/src/spots.ts:34


yaw ​

yaw: number

Defined in: packages/world/src/spots.ts:36


z ​

z: number

Defined in: packages/world/src/spots.ts:35