Skip to content

five-on-it / apps/client/src/renderer/devices-view / DevicesView

Interface: DevicesView ​

Defined in: apps/client/src/renderer/devices-view.ts:57

What the devices' view shows.

Methods ​

list() ​

list(): object[]

Defined in: apps/client/src/renderer/devices-view.ts:63

What is drawn, for the tests: each device's kind, state and place, and the props lying about.

Returns ​

object[]


render() ​

render(models, seconds): void

Defined in: apps/client/src/renderer/devices-view.ts:61

Draws them this frame by the models' batches (before their flush).

Parameters ​

models ​

ActorModels

seconds ​

number

Returns ​

void


update() ​

update(entities): void

Defined in: apps/client/src/renderer/devices-view.ts:59

The devices, the safes and the pickups with a look, as a snapshot lists them.

Parameters ​

entities ​

readonly EntitySnapshot[]

Returns ​

void