Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Info

The user interface overlay displaying the energy bar, the charge bar, the score and text. Also keeps the score.

Hierarchy

  • Info

Index

Properties

Static Private barCharge

barCharge: Bar

Static Private barEnergy

barEnergy: Bar

Static score

score: number = 0

Methods

Static display

  • display(ship: Ship): void
  • Parameters

    Returns void

Static Private displayOverText

  • displayOverText(): void
  • Returns void

Static Private displayStartText

  • displayStartText(): void
  • Returns void

Static init

  • init(_canvas: HTMLCanvasElement): void
  • Parameters

    • _canvas: HTMLCanvasElement

    Returns void

Generated using TypeDoc