com.webkitchen.brainathlon.gameComponents
Interface ICountdownGenerator

All Known Subinterfaces:
ISustainedBandPlayerMonitor

public interface ICountdownGenerator

Handles counting down time intervals and notifying listeners of the current count


Method Summary
 void addCountdownListener(ICountdownListener listener)
          Attach listener to receive notification of the player's countdown time to goal at sustained target level
 void removeAllCountdownListeners()
          Remove all listeners from our notification list
 void removeCountdownListener(ICountdownListener listener)
          Remove listener from our notification list
 

Method Detail

addCountdownListener

void addCountdownListener(ICountdownListener listener)
Attach listener to receive notification of the player's countdown time to goal at sustained target level

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

removeCountdownListener

void removeCountdownListener(ICountdownListener listener)
Remove listener from our notification list

Parameters:
listener - the observer to remove

removeAllCountdownListeners

void removeAllCountdownListeners()
Remove all listeners from our notification list