Initializes all instances needed to assemble the club crawler game and the associated DOM User Interface.
Members
(inner, constant) config :Phaser.Types.Core.GameConfig
- Source:
- See:
Properties:
Name | Type | Default | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
width |
number |
800
|
width of the Phaser canvas |
||||||||||||
height |
number |
800
|
height of the Phaser canvas |
||||||||||||
type |
enum |
Phaser.AUTO
|
Detects if OpenGL is enabled on browser and uses it if it is. External link to Phaser docs |
||||||||||||
parent |
HTMLElement |
#club-crawler-canvas-container
|
The containing parent element. |
||||||||||||
physics |
Phaser.Types.Core.PhysicsConfig | The physics configuration. External link to Phaser Docs Properties
|
The Phaser configuration for club crawler.
Type:
- Phaser.Types.Core.GameConfig
(inner, constant) dataManager :ClubCrawler.Data.dataManager
Type:
- ClubCrawler.Data.dataManager
(inner, constant) DungeonCrawlerGame :ClubCrawler.Scenes.DungeonCrawlerGame
Type:
(inner, constant) game :Phaser.Game
- Source:
- See:
Type:
- Phaser.Game
(inner, constant) GameOver :ClubCrawler.Scenes.GameOver
Type:
(inner, constant) GameWin :ClubCrawler.Scenes.GameWin
Type:
(inner, constant) leftUI :ClubCrawler.DOMUserInterface.LeftUI
Type:
(inner, constant) leftUIelement :HTMLElement
Type:
- HTMLElement
(inner, constant) parent :HTMLElement
Type:
- HTMLElement
(inner, constant) rightUI :ClubCrawler.DOMUserInterface.RightUI
Type:
(inner, constant) rightUIelement :HTMLElement
Type:
- HTMLElement