Class: ScoreBoardComponent

ScoreBoardComponent()

A component which represents the programmable scoreboard.

Constructor

new ScoreBoardComponent()

Source:

Extends

  • Component

Members

current_player :string|undefined

The current player.
Type:
  • string | undefined
Source:

player_one_progress :number

The progress of player one, as a decimal.
Type:
  • number
Source:

player_one_score :number

The score of player one.
Type:
  • number
Source:

player_two_progress :number

The progress of player two, as a decimal.
Type:
  • number
Source:

player_two_score :number

The score of player two.
Type:
  • number
Source:

winning_player :string|undefined

The winning player.
Type:
  • string | undefined
Source:

Methods

update()

Fetch new data from the game service.
Source:

(async) vue_on_create() → {Promise.<void>}

Called when the component is initialized.
Source:
Returns:
Type
Promise.<void>