five-on-it / apps/client/src/renderer/items-view / ItemsView
Interface: ItemsView
Defined in: apps/client/src/renderer/items-view.ts:78
What the scene shows of items and interactables.
Properties
counts
readonlycounts:object
Defined in: apps/client/src/renderer/items-view.ts:84
How many of each are drawn.
bays
bays:
number
containers
containers:
number
doors
doors:
number
garages
garages:
number
pickups
pickups:
number
strips
strips:
number
terminals
terminals:
number
Methods
render()
render(
sim,seconds):void
Defined in: apps/client/src/renderer/items-view.ts:82
Draws a frame: the doors where the local world has them, the pickups bobbing.
Parameters
sim
seconds
number
Returns
void
update()
update(
entities):void
Defined in: apps/client/src/renderer/items-view.ts:80
Pickups and containers as a snapshot lists them: made, moved, removed.
Parameters
entities
readonly EntitySnapshot[]
Returns
void