removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.
body : Phaser.Physics.Arcade.Body |
health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.
centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
play(name, frameRate, loop, killOnComplete) → {
damage Damages the Game Object. This removes the given amount of health from the health property. If health is taken below or is equal to zero
inputEnabled : boolean By default a Game Object won't process any input events. By setting inputEnabled to true a
key : string | Phaser.RenderTexture |
boundsAlignV : string Vertical alignment of the text within the textBounds. Can be: 'top', 'middle' or 'bottom'.
lineSpacing : number Additional spacing (in pixels) between each line of text if multi-line.
Page 4 of 15