UNPKG

@phaserjs/phaser

Version:
27 lines 879 B
import { IAnimatedSprite } from '../gameobjects/animatedsprite/IAnimatedSprite'; import { IAnimation } from './IAnimation'; export interface IAnimationData { currentAnim: string; frameRate: number; duration: number; delay: number; repeat: number; repeatDelay: number; yoyo: boolean; hold: number; showOnStart: boolean; hideOnComplete: boolean; stopAfter: number; startFrame: number; timeScale: number; nextFrameTime: number; repeatCount: number; isPlaying: boolean; forceRestart: boolean; pendingStart: boolean; playingForward: boolean; onStart?: (sprite: IAnimatedSprite, animation: IAnimation) => void; onRepeat?: (sprite: IAnimatedSprite, animation: IAnimation) => void; onComplete?: (sprite: IAnimatedSprite, animation: IAnimation) => void; } //# sourceMappingURL=IAnimationData.d.ts.map