five-on-it / apps/client/src/renderer/stealth-view / CamerasView
Interface: CamerasView
Defined in: apps/client/src/renderer/stealth-view.ts:134
The level's cameras drawn: see the module documentation.
Properties
drawn
readonlydrawn:object
Defined in: apps/client/src/renderer/stealth-view.ts:142
Every camera's state as drawn (on, off, destroyed), and how many cones are outlined.
cones
cones:
number
states
states:
string[]
Methods
markers()
markers(
tick):object[]
Defined in: apps/client/src/renderer/stealth-view.ts:140
The cameras for the minimap at a tick.
Parameters
tick
number
Returns
object[]
render()
render(
tick,cones):void
Defined in: apps/client/src/renderer/stealth-view.ts:138
Draws a frame at a (fractional) tick, the cones outlined when cones.
Parameters
tick
number
cones
boolean
Returns
void
update()
update(
entities):void
Defined in: apps/client/src/renderer/stealth-view.ts:136
Their states as a snapshot lists them.
Parameters
entities
readonly EntitySnapshot[]
Returns
void