mwg API
    Preparing search index...

    Interface ReplayEvent

    One action dispatched on one frame of the game loop.

    The frame is a count of frames since recording started, not a timestamp: a replay re-dispatches the same actions at the same frame counts while driving the loop itself with Game.step(dt), so wall-clock timing never matters.

    interface ReplayEvent {
        action: string;
        frame: number;
    }
    Index
    action: string
    frame: number