addParticle(offsetX, offsetY, rotation) → {p2.Particle}
endContactHandler(event) Handles a p2 end contact event. Parameters
game : Phaser.Game Local reference to game.
clearTilemapLayerBodies(map, layer) Clears all physics bodies from the given TilemapLayer that were created
resetChild(child, x, y, key, frame)
addCapsule(length, radius, offsetX, offsetY, rotation)
visible : boolean The visible state of the group. Non-visible Groups and all of their children are not rendered.
inertia : number The inertia of the body around the Z axis.. Source code:
replace(oldChild, newChild) → {any} Replaces a child of this Group with the given newChild. The
reverse(speed) Applies a force to the Body that causes it to 'thrust' backwards (in reverse), based on its current angle and the given
Page 23 of 35