five-on-it / apps/client/src/renderer/window-lights / WindowLights
Interface: WindowLights
Defined in: apps/client/src/renderer/window-lights.ts:74
The lit windows of a level.
Properties
stats
readonlystats:object
Defined in: apps/client/src/renderer/window-lights.ts:81
Windows lit on the last frame, patches of their light on the ground, and every window the level has.
spills
spills:
number
total
total:
number
windows
windows:
number
Methods
update()
update(
dark,minutes,seconds,loose):void
Defined in: apps/client/src/renderer/window-lights.ts:79
Lights the windows dark deep (0 by day) at minutes of the room clock, seconds into the page (the televisions' flicker); the placements in loose lie knocked loose, dark.
Parameters
dark
number
minutes
number
seconds
number
loose
ReadonlySet<number>
Returns
void