game : Phaser.Game Local reference to game.
destroy() Clears all bodies from the simulation and unlinks World from Game. Should only be called on game shutdown. Call clear
forEachAlive(callback, callbackContext, args) Call a function on each alive child in this group. See
removeChild(child) → {DisplayObject}
onDestroy : Phaser.Signal This signal is dispatched
removeContactMaterial(material) → {
new P2(game, config) This is your main access to the P2 Physics World.From here you can create materials
resetCursor(index) → {any} Sets the group cursor to the first child
addAt(child, index, silent) → {
x : number The x property of this PointProxy get and set in pixels. Source
Page 20 of 35