fern.simulation.controller
Class AmountLowerThanController
java.lang.Object
fern.simulation.controller.AmountLowerThanController
- All Implemented Interfaces:
- SimulationController
public class AmountLowerThanController
- extends Object
- implements SimulationController
Method Summary |
boolean |
goOn(Simulator sim)
Returns whether or not to go on with the given simulation |
AmountLowerThanController
public AmountLowerThanController(long amount,
String speciesName)
AmountLowerThanController
public AmountLowerThanController(long amount,
int speciesIndex)
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