five-on-it / apps/client/src/renderer/fittings-view / FittingsView
Interface: FittingsView
Defined in: apps/client/src/renderer/fittings-view.ts:117
The police's fittings' view.
Properties
counts
readonlycounts:object
Defined in: apps/client/src/renderer/fittings-view.ts:121
What the tests read: the beacons, the nets (and how many glow) and the cables drawn now.
armed
armed:
number
beacons
beacons:
number
cables
cables:
number
nets
nets:
number
Methods
dispose()
dispose():
void
Defined in: apps/client/src/renderer/fittings-view.ts:123
Takes them out of the scene.
Returns
void
update()
update(
views,now):void
Defined in: apps/client/src/renderer/fittings-view.ts:119
Draws this frame's fittings for the cars among views at now (ms, the page's clock).
Parameters
views
readonly CarView[]
now
number
Returns
void