platformer - v1.0.0
    Preparing search index...

    Props for AnimatedSprite.

    interface AnimatedSpriteProps {
        animations: Record<string, SpriteAnimation>;
        currentAnimation: string;
        flipX?: boolean;
        loop?: boolean;
        size: Size;
        src: string;
    }
    Index

    Properties

    animations: Record<string, SpriteAnimation>

    Animation configuration map.

    currentAnimation: string

    Active animation key.

    flipX?: boolean

    Whether to flip horizontally.

    loop?: boolean

    Whether animation loops.

    size: Size

    Rendered size.

    src: string

    Image source URL.