StateManager#game

game : Phaser.Game A reference to the currently running game. Source code: core/StateManager.js (Line 22)

StateManager#getCurrentState()

getCurrentState() → {Phaser.State} Gets the current State. Returns Phaser.State - Source code: core/StateManager.js (Line 569)

StateManager#onCreateCallback

onCreateCallback : Function This is called when the state preload has finished and creation begins. Source code: core/StateManager.js (Line 100)

StateManager#onInitCallback

onInitCallback : Function This is called when the state is set as the active state. Source code: core/StateManager.js (Line 88)

StateManager#onLoadRenderCallback

onLoadRenderCallback : Function This is called when the State is rendered during the preload phase. Source code: core/StateManager.js (Line 136)

StateManager#onLoadUpdateCallback

onLoadUpdateCallback : Function This is called when the State is updated during the preload phase. Source code: core/StateManager.js (Line 130)

StateManager#onPausedCallback

onPausedCallback : Function This is called when the game is paused. Source code: core/StateManager.js (Line 142)

StateManager#onPauseUpdateCallback

onPauseUpdateCallback : Function This is called every frame while the game is paused. Source code: core/StateManager.js (Line 154)

StateManager#onPreloadCallback

onPreloadCallback : Function This is called when the state starts to load assets. Source code: core/StateManager.js (Line 94)

StateManager#onPreRenderCallback

onPreRenderCallback : Function This is called before the state is rendered and before the stage is cleared but after all game objects have had their final properties adjusted. Source code: core/StateManager.js (Line 124)