mwg API
    Preparing search index...

    Interface SimulationContext<A>

    What a rule receives besides state and command: the two sources of non-determinism a simulation must route explicitly rather than reach for globally.

    interface SimulationContext<A extends Roguelike.Actor> {
        random: Random.Generator;
        scheduler: Roguelike.Scheduler<A>;
    }

    Type Parameters

    Index
    scheduler: Roguelike.Scheduler<A>