Skip to main content

Module destination_queue

Module destination_queue 

Source
Expand description

Per-elevator ordered destination queue. Per-elevator destination queue (FIFO of target stop EntityIds).

Games can push stops to the back or front of the queue, or clear it entirely, without writing a custom DispatchStrategy. This is the imperative-dispatch escape hatch for scripted scenarios.

The built-in dispatch also writes to the queue (via Simulation::push_destination), so the queue is always in sync with the elevator’s current target.

Structs§

DestinationQueue
FIFO queue of target stop EntityIds for a single elevator.