setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.
input : Phaser.InputHandler | null The
[readonly] offsetY : number The amount the Game Object is visually offset from its y coordinate
kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive
[readonly] physicsType : number The const physics body type of this object.
swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters
[readonly] deltaX : number Returns the delta x value. The difference between world.x now and
alignTo(parent, position, offsetX, offsetY) → {Object}
fixedToCamera : boolean A Game Object that is "fixed" to the camera uses its x/y coordinates as offsets from the top left of the
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
Page 7 of 11