game : Phaser.Game Local reference to game.
collide(object1, object2, collideCallback, processCallback, callbackContext)
setBounds(x, y, width, height) Updates the size of this physics world. Parameters
maxLevels : number Used by the QuadTree to set the maximum number of iteration levels.
gravity : number The World gravity setting. Source code:
enableAABB(object, children) This will create a Ninja Physics AABB body on the given game object. Its
quadTree : Phaser.QuadTree The world QuadTree.
new Ninja(game) Ninja Physics. The Ninja Physics system was created in Flash by Metanet Software and ported to JavaScript by Richard
enableTile(object, id, children) This will create a Ninja Physics Tile body
overlap(object1, object2, overlapCallback, processCallback, callbackContext)
Page 1 of 2