reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object
setScaleMinMax(minX, minY, maxX, maxY) Sets the scaleMin and scaleMax values. These values are used to limit how far this Game Object
[readonly] onOutSound : Phaser.Sound |
lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'
new Button(game, x, y, key, callback,
getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds
world : Phaser.Point The world coordinates of this
[readonly] onOverSound : Phaser.Sound |
height : number The height of the sprite, setting this will actually modify the scale to achieve the value set
animations : Phaser.AnimationManager
Page 7 of 12