initialize

Initializes all instances needed to assemble the club crawler game and the associated DOM User Interface.

Source:

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
Name Type Default Description
default string arcade

Arcade physics are used.

arcade.debug boolean false

Whether to show physics debug options

The Phaser configuration for club crawler.

Type:
  • Phaser.Types.Core.GameConfig

(inner, constant) dataManager :ClubCrawler.Data.dataManager

Source:
Type:
  • ClubCrawler.Data.dataManager

(inner, constant) DungeonCrawlerGame :ClubCrawler.Scenes.DungeonCrawlerGame

Source:
Type:

(inner, constant) game :Phaser.Game

Source:
See:
Type:
  • Phaser.Game

(inner, constant) GameOver :ClubCrawler.Scenes.GameOver

Source:
Type:

(inner, constant) GameWin :ClubCrawler.Scenes.GameWin

Source:
Type:

(inner, constant) leftUI :ClubCrawler.DOMUserInterface.LeftUI

Source:
Type:

(inner, constant) leftUIelement :HTMLElement

Source:
Type:
  • HTMLElement

(inner, constant) parent :HTMLElement

Source:
Type:
  • HTMLElement

(inner, constant) rightUI :ClubCrawler.DOMUserInterface.RightUI

Source:
Type:

(inner, constant) rightUIelement :HTMLElement

Source:
Type:
  • HTMLElement

(inner, constant) TitleScreen :ClubCrawler.Scenes.TitleScreen

Source:
Type:

(inner, constant) uiManager :ClubCrawler.DOMUserInterface.DOMUIManager

Source:
Type: