Interface CreateSpriteOptionsAnimation

A combination of SpriteAnimationFrames and an string AnimationID to form a completed animation

interface CreateSpriteOptionsAnimation {
    frames: CreateSpriteOptionsAnimationFrame[];
    id: string;
}

Properties

Properties

Array of AnimationFrames used to create the overall animation

id: string

String AnimationID that will be used to refer to the animation