key : string The string based identifier given to the State when added into the State Manager.
onShutDownCallback : Function This is called when the state is shut down (i.e. swapped to another state).
clearCurrentState() This method clears the current State, calling its shutdown callback. The process also removes any active tweens
update() The update method is left empty for your own use.It is called during the core game loop AFTER debug, physics, plugins
pauseUpdate() pauseUpdate is called while the game is paused instead of preUpdate, update and postUpdate.
resumed() This method will be called when the core game loop resumes from a paused state. Source
game : Phaser.Game A reference to the currently running game
onResumedCallback : Function This is called when the game is resumed from a paused state.
math : Phaser.Math A reference to Math class with lots of
onLoadRenderCallback : Function This is called when the State is rendered during the preload phase.
Page 6 of 6