Common interface for all animation types.

interface AnimationPreset {
    animFlags: number;
    duration: number;
    type: number;
    createInstance(bits: AnimationBits, die: VirtualDie): AnimationInstance;
}

Implemented by

Properties

animFlags: number

See AnimationFlagsValues for possible values.

duration: number

Animation duration in milliseconds.

type: number

See AnimationTypeValues for possible values.

Methods