com.rubecula.darwin.core
Interface GenerationListener

All Known Implementing Classes:
Applet_PepperedMoth

public interface GenerationListener

Defines a callback method for invocation whenever the GenerationTimerTask runs. Note that in general, this will happen more frequently than when the population changes.

Author:
Robin

Method Summary
 void generationTimerTaskAwake(Generatable generatable)
          This method is called whenever the GenerationTimerTask implementer is woken up.
 

Method Detail

generationTimerTaskAwake

void generationTimerTaskAwake(Generatable generatable)
This method is called whenever the GenerationTimerTask implementer is woken up. Even if the timer task is not running, the callback method will be invoked.

Parameters:
generatable - the implementer of Generatable which is being controlled by this timer task.