Class Main

Main class of the game

Hierarchy

  • Main

Constructors

Properties

Methods

Constructors

  • Creates a new Main

    Returns Main

Properties

game: Game
renderer: Renderer
tick: number
userInput: UserInput

Methods

  • Renders the game

    Returns void

  • Resets the level

    Returns void

  • Updates the game state an physics

    Returns void

Generated using TypeDoc