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