frontend
    Preparing search index...

    Interface ReplayConfig<TState>

    Configuration for the replay animation runner.

    interface ReplayConfig<TState> {
        buildHumanActionState?: (finalState: TState) => TState | null;
        buildReplayStates: (finalState: TState) => TState[];
        getActionDelay?: (finalState: TState, actionIndex: number) => number;
    }

    Type Parameters

    • TState
    Index

    Properties

    buildHumanActionState?: (finalState: TState) => TState | null
    buildReplayStates: (finalState: TState) => TState[]
    getActionDelay?: (finalState: TState, actionIndex: number) => number