StateManager#onUpdateCallback

onUpdateCallback : Function This is called when the state is updated, every game loop. It doesn't happen during preload (@see onLoadUpdateCallback). Source code: core/StateManager.js (Line 106)

StateManager#onStateChange

onStateChange : Phaser.Signal onStateChange is a Phaser.Signal that is dispatched whenever the game changes state. It is dispatched only when the new state is started, which isn't usually at the same time as StateManager.startis called because state swapping is done in sync with the game loop. It is dispatched before any of the new statesmethods (such as preload and create) are called, and after the previous states shutdown method has been run. The callback you specify is sent two parameters:

StateManager#onShutDownCallback

onShutDownCallback : Function This is called when the state is shut down (i.e. swapped to another state). Source code: core/StateManager.js (Line 160)

StateManager#onResumedCallback

onResumedCallback : Function This is called when the game is resumed from a paused state. Source code: core/StateManager.js (Line 148)

StateManager#onResizeCallback

onResizeCallback : Function This is called if ScaleManager.scalemode is RESIZE and a resize event occurs. It's passed the new width and height. Source code: core/StateManager.js (Line 118)

StateManager#onRenderCallback

onRenderCallback : Function This is called post-render. It doesn't happen during preload (see onLoadRenderCallback). Source code: core/StateManager.js (Line 112)

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)

StateManager#onPreloadCallback

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

StateManager#onPauseUpdateCallback

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

StateManager#onPausedCallback

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