weapon(quantity, key, frame, group)
setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value.
cameraOffset : Phaser.Point The x/y coordinate offset
game : Phaser.Game A reference to the currently running game
[readonly] previousPosition : Phaser.Point
loadTexture(key, frame, stopAnimation) Changes the base texture the Game
checkWorldBounds : boolean If this is set to true the Game Object checks if it is within the World bounds each frame
name : string A name for this group. Not used internally but useful for debugging. Source
centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)
videoStream :MediaStream The Video Stream data. Only set if this Video is streaming from the webcam via startMediaStream
Page 46 of 47