Plants vs. Zombies: Replanted - v1.0.3
    Preparing search index...

    Interface IHistoryStack

    interface IHistoryStack {
        canRevert: (event: IHistoryEvent) => Revertability;
        describe: (event: IHistoryEvent) => string;
        describeRevert: (event: IHistoryEvent) => string;
        revert: (event: IHistoryEvent) => Promise<void>;
        size: number;
    }
    Index

    Properties

    canRevert: (event: IHistoryEvent) => Revertability

    determine if the event can be reverted

    describe: (event: IHistoryEvent) => string

    generate a (translated!) description for the entry

    describeRevert: (event: IHistoryEvent) => string

    generate a (translated!) description for the revert action. Please be specific and concise on what exactly this does

    revert: (event: IHistoryEvent) => Promise<void>

    do revert the specified event

    size: number

    number of items to remember on the stack