Animation#next()

next(quantity) Advances by the given number of frames in the Animation, taking the loop value into consideration. Parameters Name Type Argument Default Description quantity number <optional> 1 The number of frames to advance. Source code: animation/Animation.js (Line 531)

Animation#loop

loop : boolean The loop state of the Animation. Source code: animation/Animation.js (Line 63)

Animation#name

name : string The user defined name given to this Animation. Source code: animation/Animation.js (Line 46)

Animation#loopCount

loopCount : number The number of times the animation has looped since it was last started. Source code: animation/Animation.js (Line 68)

Animation#isReversed

isReversed : boolean Indicates if the animation will play backwards. Source code: animation/Animation.js (Line 157)

Animation#isPlaying

isPlaying : boolean The playing state of the Animation. Set to false once playback completes, true during playback. Source code: animation/Animation.js (Line 86)

Animation#killOnComplete

killOnComplete : boolean Should the parent of this Animation be killed when the animation completes? Source code: animation/Animation.js (Line 74)

Animation#isPaused

isPaused : boolean The paused state of the Animation. Source code: animation/Animation.js (Line 92)

Animation#isFinished

isFinished : boolean The finished state of the Animation. Set to true once playback completes, false during playback. Source code: animation/Animation.js (Line 80)

Animation#game

game : Phaser.Game A reference to the currently running Game. Source code: animation/Animation.js (Line 29)