five-on-it / apps/client/src/ui/map-view / MapCentre
Interface: MapCentre
Defined in: apps/client/src/ui/map-view.ts:25
What the corner map centres on, which the game loop publishes every frame (its markers come ten times a second): where the camera's subject is drawn and which way it faces, and whether it is the player (their arrow drawn) or a teammate watched out of a run (none).
Properties
mine
mine:
boolean
Defined in: apps/client/src/ui/map-view.ts:31
The player themselves (their arrow drawn at the centre).
x
x:
number
Defined in: apps/client/src/ui/map-view.ts:26
yaw
yaw:
number
Defined in: apps/client/src/ui/map-view.ts:29
Heading (rad, 0 faces +z).
z
z:
number
Defined in: apps/client/src/ui/map-view.ts:27