five-on-it / apps/client/src/renderer/night-view / NightFrame
Interface: NightFrame
Defined in: apps/client/src/renderer/night-view.ts:126
What the night view is told every frame.
Properties
car?
optionalcar?:object
Defined in: apps/client/src/renderer/night-view.ts:128
The player's car (its pose) or none on foot: where its spotlight shines from.
x
x:
number
y
y:
number
yaw
yaw:
number
z
z:
number
cars?
optionalcars?: readonlyCarView[]
Defined in: apps/client/src/renderer/night-view.ts:130
Every car on screen (lights: it drives with its lights on).
loose?
optionalloose?:ReadonlySet<number>
Defined in: apps/client/src/renderer/night-view.ts:132
The light pieces lying loose, by placement: a lamp among them is out.
minutes?
optionalminutes?:number
Defined in: apps/client/src/renderer/night-view.ts:134
The room clock's game minutes (the windows are lit by the hour); noon when absent.
seconds?
optionalseconds?:number
Defined in: apps/client/src/renderer/night-view.ts:136
Seconds into the page (a television's flicker).
target?
optionaltarget?:object
Defined in: apps/client/src/renderer/night-view.ts:138
Where the camera looks: the lamps nearest to it light the actors.
x
x:
number
z
z:
number