fern.simulation.controller
Class AmountLowerThanController

java.lang.Object
  extended by fern.simulation.controller.AmountLowerThanController
All Implemented Interfaces:
SimulationController

public class AmountLowerThanController
extends Object
implements SimulationController


Constructor Summary
AmountLowerThanController(long amount, int speciesIndex)
           
AmountLowerThanController(long amount, String speciesName)
           
 
Method Summary
 boolean goOn(Simulator sim)
          Returns whether or not to go on with the given simulation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmountLowerThanController

public AmountLowerThanController(long amount,
                                 String speciesName)

AmountLowerThanController

public AmountLowerThanController(long amount,
                                 int speciesIndex)
Method Detail

goOn

public boolean goOn(Simulator sim)
Description copied from interface: SimulationController
Returns whether or not to go on with the given simulation

Specified by:
goOn in interface SimulationController
Parameters:
sim - simulation
Returns:
whether or not to go on