Scoreboard

From Sugar Labs
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Fields

  • Score
  • Total
  • ?# wrong?

Methods

  • maxScore
  • .inc(val), .dec(val) to increment and decrement score, default change by one if no val supplied
  • reset()
  • start()

Options

  • startBtn : true
  • resetBtn : true
  • stopBtn : true
  • incValue : 1
  • maxScore : 0

Possibly For future

  • display difficulty level
  • .stop()
  • pause() score can't be changed