five-on-it / packages/sim/src/spawners / SpawnerState
Interface: SpawnerState
Defined in: packages/sim/src/spawners.ts:35
A spawner at work: its car (or −1), the tick the next is due (−1: none due), how many it has put there.
Properties
car
car:
number
Defined in: packages/sim/src/spawners.ts:37
The car standing in the bay, or −1 once it is gone.
count
count:
number
Defined in: packages/sim/src/spawners.ts:41
How many cars it has put there: the next class of its mix is this one's.
due
due:
number
Defined in: packages/sim/src/spawners.ts:39
The tick the next car is due; −1 when none is (a car stands there, or it never respawns).