Class SpriteAnimation

Constructors

Properties

Constructors

  • Parameters

    • data: {
          name: string;
          frames: {
              t: number;
              spriteNo: number;
          }[];
          loop?: boolean;
      }
      • name: string
      • frames: {
            t: number;
            spriteNo: number;
        }[]
      • Optionalloop?: boolean

    Returns SpriteAnimation

Properties

name: string
frames: {
    t: number;
    spriteNo: number;
}[]
loop: boolean