public class AndController extends Object implements SimulationController
SimulationController
composed of many SimulationController
. If
one controller tells to stop, the simulation will stop.OrController
Constructor and Description |
---|
AndController(SimulationController... controllers) |
Modifier and Type | Method and Description |
---|---|
boolean |
goOn(Simulator sim)
Returns whether or not to go on with the given simulation
|
public AndController(SimulationController... controllers)
public boolean goOn(Simulator sim)
SimulationController
goOn
in interface SimulationController
sim
- simulationCopyright © 2007–2021. All rights reserved.