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

onPausedCallback : Function This is called when the game is paused. Source

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

restart(clearWorld, clearCache, parameter) Restarts the current State. State

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

onPreloadCallback : Function This is called when the state starts to load assets. Source

2025-01-10 15:47:30
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
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
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