Package sac.model.observers
Class ScoreObserver
java.lang.Object
sac.model.observers.ScoreObserver
- All Implemented Interfaces:
Observer<DataPackage>
- Direct Known Subclasses:
BackToBackObserver
,ComboObserver
,LinearObserver
,TSpinObserver
An Observer to calculate (non-cumulative) scores.
-
Constructor Details
-
ScoreObserver
public ScoreObserver()
-
-
Method Details
-
getScore
public abstract int getScore()Calculate the current score.- Returns:
- The non-cumulative score.
-