Weapon#bulletInheritSpriteSpeed

bulletInheritSpriteSpeed : boolean When a Bullet is fired it can optionally inherit the velocity of the trackedSprite if set. Source code: plugins/weapon/WeaponPlugin.js (Line 105)

Physics.P2.Body#reset()

reset(x, y, resetDamping, resetMass) Resets the Body force, velocity (linear and angular) and rotation. Optionally resets damping and mass. Parameters Name Type Argument Default Description x number The new x position of the Body. y number The new x position of the Body. resetDamping boolean <optional> false Resets the linear and angular damping. resetMass boolean <optional> false Sets the Body mass back to 1. Source code: physics/p2/Body.js (Line 871)

QuadTree#populate()

populate(group) Populates this quadtree with the children of the given Group. In order to be added the child must exist and have a body property. Parameters Name Type Description group Phaser.Group The Group to add to the quadtree. Source code: math/QuadTree.js (Line 103)

RandomDataGenerator#state()

state(state) → {string} Gets or Sets the state of the generator. This allows you to retain the valuesthat the generator is using between games, i.e. in a game save file. To seed this generator with a previously saved state you can pass it as theseed value in your game config, or call this method directly after Phaser has booted. Call this method with no parameters to return the current state. If providing a state it should match the same format that this methodreturns, which is a string with

World#right

right : number The right coordinate of this Group. It is derived by calling getBounds, calculating the Groups dimensions based on itsvisible children. Inherited From Phaser.Group#right Source code: core/Group.js (Line 2789)

Creature#moveUp()

moveUp() → {PIXI.DisplayObject} Moves this Game Object up one place in its parents display list.This call has no effect if the Game Object is already at the top of the display list. If this Game Object hasn't been added to a custom Group then this method will move it one object up within the Game World,because the World is the root Group from which all Game Objects descend. Returns PIXI.DisplayObject - This instance. Inherited From Phaser.Component.BringToTop#moveUp Source code: game

Point#normalRightHand()

normalRightHand() → {Phaser.Point} Right-hand normalize (make unit length) this Point. Returns Phaser.Point - This Point object. Source code: geom/Point.js (Line 439)

Component.PhysicsBody#x

x : number The position of the Game Object on the x axis relative to the local coordinates of the parent. Source code: gameobjects/components/PhysicsBody.js (Line 98)

Mouse#onMouseMove()

onMouseMove(event) The internal method that handles the mouse move event from the browser. Parameters Name Type Description event MouseEvent The native event from the browser. This gets stored in Mouse.event. Source code: input/Mouse.js (Line 326)

global#ANGLE_RIGHT

<constant> ANGLE_RIGHT : integer The Angle (in degrees) a Game Object needs to be set to in order to face right. Source code: Phaser.js (Line 353)