setCollisionGroup(group, shape) Sets the given CollisionGroup to be the collision group for all shapes
draw() Draws the P2 shapes to the Graphics object. Source code:
checkAll(key, value, checkAlive, checkVisible, force)
removeBetween(startIndex, endIndex, destroy, silent)
getTop() → {any} Return the child at the top of this group. The top child is the child displayed
top : number The top coordinate of this Group. It is derived by calling getBounds, calculating the Groups dimensions
addLine(length, offsetX, offsetY, rotation) → {p2
enableBody(object, debug) Creates a P2 Physics body on the given game object.A game object can only have 1 physics body active
resume() Resumes a paused P2 World. Source code:
boundsCollidesWith :array An array of the bodies the world bounds collides with. Source
Page 34 of 35