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

Variable Index

 o score

Constructor Index

 o ScoreManager()

Method Index

 o addToScore(int)
Add to the score.
 o registerForBonusNotification(Object, int)
For every `bonus' points, notify requestor.
 o setScore(int)
Set the score.
 o subtractFromScore(int)
Subtract from the score.

Variables

 o score
  public int score

Constructors

 o ScoreManager
  public ScoreManager()

Methods

 o addToScore
  public void addToScore(int theValue)
Add to the score.
 o setScore
  public void setScore(int theValue)
Set the score.
 o subtractFromScore
  public void subtractFromScore(int theValue)
Subtract from the score.
 o registerForBonusNotification
  public void registerForBonusNotification(Object theObject,
                                           int theValue)
For every `bonus' points, notify requestor.

All Packages  Class Hierarchy  This Package  Previous  Next  Index