Physics.Ninja.AABB#collideWorldBounds()

collideWorldBounds() Collides this AABB against the world bounds. Source code: physics/ninja/AABB.js (Line 295)

Physics.Ninja.AABB#collideAABBVsTile()

collideAABBVsTile(tile) Collides this AABB against a Tile. Parameters Name Type Description tile Phaser.Physics.Ninja.Tile The Tile to collide against. Source code: physics/ninja/AABB.js (Line 408)

Physics.Ninja.AABB#collideAABBVsAABB()

collideAABBVsAABB(aabb) Collides this AABB against a AABB. Parameters Name Type Description aabb Phaser.Physics.Ninja.AABB The AABB to collide against. Source code: physics/ninja/AABB.js (Line 336)

Physics.Ninja.AABB#body

body Properties: Name Type Description system Phaser.Physics.Ninja.Body A reference to the body that owns this shape. Source code: physics/ninja/AABB.js (Line 25)

Physics.Ninja.AABB#aabbTileProjections

aabbTileProjections : Object All of the collision response handlers. Source code: physics/ninja/AABB.js (Line 86)

Physics.Ninja.AABB#AABB

new AABB(body, x, y, width, height) Ninja Physics AABB constructor.Note: This class could be massively optimised and reduced in size. I leave that challenge up to you. Parameters Name Type Description body Phaser.Physics.Ninja.Body The body that owns this shape. x number The x coordinate to create this shape at. y number The y coordinate to create this shape at. width number The width of this AABB. height number The height of this AABB. Source code: physics/ninja/AABB.js (Line 20

Physics.Ninja#time

time : Phaser.Time Local reference to game.time. Source code: physics/ninja/World.js (Line 39)

Physics.Ninja#setBoundsToWorld()

setBoundsToWorld() Updates the size of this physics world to match the size of the game world. Source code: physics/ninja/World.js (Line 213)

Physics.Ninja#setBounds()

setBounds(x, y, width, height) Updates the size of this physics world. Parameters Name Type Description x number Top left most corner of the world. y number Top left most corner of the world. width number New width of the world. Can never be smaller than the Game.width. height number New height of the world. Can never be smaller than the Game.height. Source code: physics/ninja/World.js (Line 198)

Physics.Ninja#separate()

separate(body1, body2) → {boolean} The core separation function to separate two physics bodies. Parameters Name Type Description body1 Phaser.Physics.Ninja.Body The Body object to separate. body2 Phaser.Physics.Ninja.Body The Body object to separate. Returns boolean - Returns true if the bodies collided, otherwise false. Source code: physics/ninja/World.js (Line 567)