Class com.next.gt.ScoreManager
All Packages Class Hierarchy This Package Previous Next Index
Class com.next.gt.ScoreManager
java.lang.Object
|
+----com.next.gt.ScoreManager
- public class ScoreManager
- extends Object
-
score
-
-
ScoreManager()
-
-
addToScore(int)
- Add to the score.
-
registerForBonusNotification(Object, int)
- For every `bonus' points, notify requestor.
-
setScore(int)
- Set the score.
-
subtractFromScore(int)
- Subtract from the score.
score
public int score
ScoreManager
public ScoreManager()
addToScore
public void addToScore(int theValue)
- Add to the score.
setScore
public void setScore(int theValue)
- Set the score.
subtractFromScore
public void subtractFromScore(int theValue)
- Subtract from the score.
registerForBonusNotification
public void registerForBonusNotification(Object theObject,
int theValue)
- For every `bonus' points, notify requestor.
All Packages Class Hierarchy This Package Previous Next Index