setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by
name : string A user defined name given to this Game Object.This value isn't ever used internally by Phaser, it is meant
bringToTop() → {PIXI.DisplayObject} Brings this Game Object to the top of its parents display list
reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object
centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.
[readonly] offsetX : number The amount the Game Object is visually offset from its x coordinate
updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect
tintedTexture :Canvas A canvas that contains the tinted version of the Sprite (in Canvas mode, WebGL doesn't populate this)
body : Phaser.Physics.Arcade.Body |
Page 9 of 11