interface AlgIndexer {
    currentMoveInfo?: ((timestamp: number) => CurrentMoveInfo);
    timestampToPosition?: ((timestamp: number, startPattern?: KPattern) => PuzzlePosition);
    algDuration(): number;
    getAnimLeaf(index: number): null | AnimatedLeafAlgNode;
    indexToMoveStartTimestamp(index: number): number;
    moveDuration(index: number): number;
    numAnimatedLeaves(): number;
    patternAtIndex(index: number, startPattern?: KPattern): KPattern;
    timestampToIndex(timestamp: number): number;
    transformationAtIndex(index: number): KTransformation;
}

Implemented by

Properties

currentMoveInfo?: ((timestamp: number) => CurrentMoveInfo)
timestampToPosition?: ((timestamp: number, startPattern?: KPattern) => PuzzlePosition)

Methods