StateManager#game
  • References/Game Development/Phaser/Game States/StateManager

game : Phaser.Game A reference to the currently running game

2025-01-10 15:47:30
StateManager#onShutDownCallback
  • References/Game Development/Phaser/Game States/StateManager

onShutDownCallback : Function This is called when the state is shut down (i.e. swapped to another state).

2025-01-10 15:47:30
State#update()
  • References/Game Development/Phaser/Game States/State

update() The update method is left empty for your own use.It is called during the core game loop AFTER debug, physics, plugins

2025-01-10 15:47:30
State#key
  • References/Game Development/Phaser/Game States/State

key : string The string based identifier given to the State when added into the State Manager.

2025-01-10 15:47:30
StateManager#onResumedCallback
  • References/Game Development/Phaser/Game States/StateManager

onResumedCallback : Function This is called when the game is resumed from a paused state.

2025-01-10 15:47:30
State#resumed()
  • References/Game Development/Phaser/Game States/State

resumed() This method will be called when the core game loop resumes from a paused state. Source

2025-01-10 15:47:30
StateManager#onLoadRenderCallback
  • References/Game Development/Phaser/Game States/StateManager

onLoadRenderCallback : Function This is called when the State is rendered during the preload phase.

2025-01-10 15:47:30
StateManager#clearCurrentState()
  • References/Game Development/Phaser/Game States/StateManager

clearCurrentState() This method clears the current State, calling its shutdown callback. The process also removes any active tweens

2025-01-10 15:47:30
State#pauseUpdate()
  • References/Game Development/Phaser/Game States/State

pauseUpdate() pauseUpdate is called while the game is paused instead of preUpdate, update and postUpdate.

2025-01-10 15:47:30
State#math
  • References/Game Development/Phaser/Game States/State

math : Phaser.Math A reference to Math class with lots of

2025-01-10 15:47:30