updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect
setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by
reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object
left : number The left coordinate of the Game Object.This is the same as x - offsetX.
height : number The height of the sprite, setting this will actually modify the scale to achieve the value set
body : Phaser.Physics.Arcade.Body |
contains(child) → {Boolean} Determines whether the specified display object is a child of the D
game : Phaser.Game A reference to the currently running Game
removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.
cameraOffset : Phaser.Point The x/y coordinate offset
Page 9 of 11