State#world
  • References/Game Development/Phaser/Game States/State

world : Phaser.World A reference to the game world. All

2025-01-10 15:47:30
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
State#paused()
  • References/Game Development/Phaser/Game States/State

paused() This method will be called if the core game loop is paused. Source code:

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

tweens : Phaser.TweenManager A reference

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

loadUpdate() loadUpdate is called during the Loader process. This only happens if you've set one or more assets to load in the preload

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

time : Phaser.Time A reference to the game clock and timed

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

input : Phaser.Input A reference to the Input Manager

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
State#preRender()
  • References/Game Development/Phaser/Game States/State

preRender() The preRender method is called after all Game Objects have been updated, but before any rendering takes place.

2025-01-10 15:47:30