Returns a setup object containing a canvas ref and a reference to the Phaser game instance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
config |
Object |
<optional> |
The config object for the Phaser game instance. |
- Source:
Throws:
-
Will throw a ConfigError if the Phaser game is mis-configured by the user.
- Type
- module:ConfigError