new Stage(game)
The Stage controls root level display objects upon which everything is displayed.
It also handles browser visibility handling and the pausing due to loss of focus.
Parameters
Name | Type | Description |
---|---|---|
game | Phaser.Game | Game reference to the currently running game. |
- Source code: core/Stage.js (Line 16)
Please login to continue.