focusOn(displayObject) Move the camera focus on a display object instantly. Parameters
getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the displayObjectContainer
getFirstExists(exists, createIfNull, x, y,
customSort(sortHandler, context) Sort the children in the group according to custom sort function.
[readonly] randomX : number Gets a random integer which is lesser than or equal to the current
physics : Phaser.Physics Reference to the physics
moveUp(child) → {any} Moves the given child up one place in this group unless it's already at the
enableBody : boolean If true all Sprites created by, or added to this group, will have a physics body enabled on them. If
alignIn(container, position, offsetX, offsetY)
new Camera(game, id, x, y, width, height) A Camera is your view into the game world. It has a position and size and renders only those
Page 18 of 28