index : number The index of this Frame within the FrameData set it is being added to.
game : Phaser.Game A reference to the currently running Game
next(quantity) Advances by the given number of frames in the Animation, taking the loop value into consideration
loopCount : number The number of times the animation has looped since it was last started.
<static> JSONData(game, json) → {
x : number X position within the image to cut from. Source code:
spriteSourceSizeW : number Width of the trimmed sprite. Source code:
[readonly] total : number The total number of frames in this FrameData set.
frame : number Gets or sets the current frame index and updates the Texture Cache for display.
restart() Sets this animation back to the first frame and restarts the animation. Source
Page 1 of 11