Difference between revisions of "Scoreboard"

From Sugar Labs
Jump to navigation Jump to search
Line 1: Line 1:
Options
 
*
 
 
 
Fields
 
Fields
 
* Score
 
* Score
 
* Total
 
* Total
* # wrong
+
* ?# wrong?
 
 
  
 
Methods
 
Methods
Line 13: Line 9:
 
* pause() score can't be changed
 
* pause() score can't be changed
 
* reset()
 
* reset()
 +
* start()
 +
 +
Options
 +
* startBtn : true
 +
* restartBtn : true
 +
* stopBtn : true
 +
* incValue : 1
 +
* maxScore : 0
  
 
Possibly For future
 
Possibly For future
* difficulty level
+
* display difficulty level
*
+
* .stop()

Revision as of 00:22, 5 January 2010

Fields

  • Score
  • Total
  • ?# wrong?

Methods

  • maxScore
  • .inc(val), .dec(val) to increment and decrement score, default change by one if no val supplied
  • pause() score can't be changed
  • reset()
  • start()

Options

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

Possibly For future

  • display difficulty level
  • .stop()