Skip to content

five-on-it / packages/catalogue/src/kit-pieces / KitAnchorInfo

Interface: KitAnchorInfo ​

Defined in: packages/catalogue/src/kit-pieces.ts:21

A named point of a kit piece (its sidecar's anchors), in the game's frame.

Properties ​

at ​

at: Point

Defined in: packages/catalogue/src/kit-pieces.ts:23

Where it stands from the piece's origin (m).


block? ​

optional block?: string

Defined in: packages/catalogue/src/kit-pieces.ts:27

The level block the generator puts there (shop, garage, stairs), if any.


piece? ​

optional piece?: string

Defined in: packages/catalogue/src/kit-pieces.ts:29

The piece of another kit the generator stands there (street/swing-set), if any.


yaw ​

yaw: number

Defined in: packages/catalogue/src/kit-pieces.ts:25

Which way it looks: the game's yaw (rad, 0 the piece's front, +π/2 its left).