StateManager
Class: Phaser.StateManager
Constructor
new StateManager(game, pendingState)
The State Manager is responsible for loading, setting up and switching game states.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
game | Phaser.Game | A reference to the currently running game. | ||
pendingState | Phaser.State | Object
|