State#create()

create() create is called once preload has completed, this includes the loading of any assets from the Loader.If you don't have a preload method then create is the first method called in your State. Source code: core/State.js (Line 152)

State#camera

camera : Phaser.Camera A handy reference to World.camera. Source code: core/State.js (Line 39)

State#cache

cache : Phaser.Cache A reference to the game cache which contains any loaded or generated assets, such as images, sound and more. Source code: core/State.js (Line 44)

State#add

add : Phaser.GameObjectFactory A reference to the GameObjectFactory which can be used to add new objects to the World. Source code: core/State.js (Line 29)

Stage#width

width : number The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set Inherited From PIXI.DisplayObjectContainer#width Source code: pixi/display/DisplayObjectContainer.js (Line 571)

Stage#visibilityChange()

visibilityChange(event) This method is called when the document visibility is changed. Parameters Name Type Description event Event Its type will be used to decide whether the game should be paused or not. Source code: core/Stage.js (Line 281)

Stage#updateTransform()

updateTransform() Updates the transforms for all objects on the display list.This overrides the Pixi default as we don't need the interactionManager, but do need the game property check. Source code: core/Stage.js (Line 204)

Stage#update()

update() This is called automatically after the State.update, but before particles or plugins update. Source code: core/Stage.js (Line 156)

Stage#swapChildren()

swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters Name Type Description child DisplayObject - child2 DisplayObject - Inherited From PIXI.DisplayObjectContainer#swapChildren Source code: pixi/display/DisplayObjectContainer.js (Line 85)

Stage#Stage

new Stage(game) The Stage controls root level display objects upon which everything is displayed.It also handles browser visibility handling and the pausing due to loss of focus. Parameters Name Type Description game Phaser.Game Game reference to the currently running game. Source code: core/Stage.js (Line 16)