crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting
[readonly] onOverSound : Phaser.Sound |
onOverMouseOnly : boolean If true then onOver events (such as onOverSound) will only be triggered if the Pointer object causing
transformCallbackContext : Object The context under which transformCallback is called.
y : number The position of the Game Object on the y axis relative to the local coordinates of the parent.
destroy(destroyChildren, destroyTexture) Destroys the Game Object. This
right : number The right coordinate of this Group. It is derived by calling getBounds, calculating the Groups
events : Phaser.Events All Phaser Game Objects
setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters
alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components
Page 25 of 62