updateFrameData(frameData) Changes the FrameData object this Animation is using. Parameters
delay : number The delay in ms between each frame of the Animation, based on the given frameRate.
rotationDirection : string Either 'cw' or 'ccw', rotation is always 90 degrees. Default
onStart : Phaser.Signal This event is dispatched when
sourceSizeH : number Height of the original sprite before it was trimmed. Source
frame : number Gets or sets the current frame index and updates the Texture Cache for display.
currentFrame : Phaser.Frame The currently displayed
reverseOnce() → {Phaser.Animation}
clone() → {Phaser.FrameData}
checkFrameName(name) → {boolean} Check if there is a Frame with the given name. Parameters
Page 2 of 11