setTrim(trimmed, actualWidth, actualHeight, destX, destY, destWidth, destHeight) If the frame was trimmed when added to the Texture
next(quantity) Advances by the given number of frames in the current animation, taking the loop value
getFrameByName(name) → {Phaser.Frame}
addFrame(frame) → {Phaser.Frame}
frame : number Gets or sets the current frame index and updates the Texture Cache for display.
destroy() Destroys this FrameData collection by nulling the _frames and _frameNames arrays.
updateIfVisible : boolean Should the animation data continue to update even if the Sprite.visible is set to false.
centerY : number Center Y position within the image to cut from. Source code:
right : number The right of the Frame (x + width). Source code:
new AnimationManager(sprite) The Animation Manager is used to add, play and update Phaser Animations.Any Game Object such as Phaser
Page 3 of 11