init() Source code:
world : Phaser.Physics.P2 Local
xy(index, x, y) Positions the child found at the given index within this group to the given x and y coordinates. Parameters
onBeginContact : Phaser.Signal This Signal is dispatched
createBodyCallback(object, callback, callbackContext) Sets a callback to be fired any time a shape in this Body impacts with a shape
createRevoluteConstraint(bodyA, pivotA, bodyB, pivotB, maxForce, worldPivot)
shapeChanged() Updates the debug draw if any body shapes change. Source code:
preUpdate() Called at the start of the core update loop. Purges flagged bodies from the world.
width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set
body : Phaser.Physics.P2.Body
Page 9 of 35