walls : Object An object containing the 4 wall bodies that bound the physics world. Source
clear() Clears all bodies from the simulation, resets callbacks and resets the collision bitmask. The P2 world is also cleared:
name : string The user defined name given to this Material. Source code:
addRectangle(width, height, offsetX, offsetY, rotation)
onContactMaterialAdded : Phaser.Signal This signal
resetChild(child, x, y, key, frame)
game : Phaser.Game Local reference to game.
forEachDead(callback, callbackContext, args) Call a function on each dead child in this group. See
world : Phaser.Physics.P2 Local
mx : number The x property of this PointProxy get and set in meters. Source
Page 25 of 35