addChildAt(child, index) → {DisplayObject}
new TileSprite(game, x, y, width, height, key, frame) A TileSprite is a Sprite that has a repeating texture. The texture can be scrolled
alpha : number The alpha value of the group container. Inherited From
maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure
[readonly] inWorld : boolean Checks if the Game Objects bounds are within, or intersect at
[readonly] destroyPhase : boolean As a Game Object runs through its destroy method this flag
getChildAt(index) → {DisplayObject}
setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by
game : Phaser.Game A reference to the currently running Game
anchor :Point The anchor sets the origin point of the texture.The default is 0,0 this means the texture's origin is the top
Page 11 of 62