crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting
moveUp() → {PIXI.DisplayObject} Moves this Game Object up one place in its parents display list
revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object
centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)
texture : PIXI.Texture The texture that the
world : Phaser.Point The world coordinates of this
setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy
blendMode : number The blend mode to be applied to the sprite. Set to PIXI.blendModes.NORMAL to remove any blend mode. Warning:
top : number The y coordinate of the Game Object.This is the same as y - offsetY.
input : Phaser.InputHandler | null The
Page 6 of 11