getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
cropRect : Phaser.Rectangle The Rectangle used
fixedToCamera : boolean A Game Object that is "fixed" to the camera uses its x/y coordinates as offsets from the top left of the
reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object
body : Phaser.Physics.Arcade.Body |
[readonly] fresh : boolean A Game Object is considered fresh if it has just been
[readonly] renderOrderID : number The render order ID is used internally by the renderer and
outOfBoundsKill : boolean If this and the checkWorldBounds property are both set to true then the kill
debug : boolean A debug flag designed for use with Game.enableStep.
centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)
Page 2 of 11