com.webkitchen.brainathlon.gameComponents
Interface IScoreGenerator

All Known Subinterfaces:
IBandPlayerMonitor, IPlayerMonitor, IRatioPlayerMonitor, ISpectrumPlayerMonitor, ISustainedBandPlayerMonitor
All Known Implementing Classes:
AbstractBandCourse.AbstractBandPlayerMonitor, AbstractCourse.AbstractPlayerMonitor

public interface IScoreGenerator

Interface for generating player scores


Method Summary
 void addScoreListener(IScoreListener listener)
          Attach listener to receive notification of the player's current score
 void removeAllScoreListeners()
          Remove all listeners from our notification list
 void removeScoreListener(IScoreListener listener)
          Remove listener from our notification list
 

Method Detail

addScoreListener

void addScoreListener(IScoreListener listener)
Attach listener to receive notification of the player's current score

Parameters:
listener - the observer who wants to receive the player's score

removeScoreListener

void removeScoreListener(IScoreListener listener)
Remove listener from our notification list

Parameters:
listener - the observer to remove

removeAllScoreListeners

void removeAllScoreListeners()
Remove all listeners from our notification list