gravity : number The World gravity setting. Source code:
game : Phaser.Game Local reference to game.
enableAABB(object, children) This will create a Ninja Physics AABB body on the given game object. Its
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.
new Ninja(game) Ninja Physics. The Ninja Physics system was created in Flash by Metanet Software and ported to JavaScript by Richard
quadTree : Phaser.QuadTree The world QuadTree.
bounds : Phaser.Rectangle The bounds inside
enableTile(object, id, children) This will create a Ninja Physics Tile body
Page 1 of 2