public class Simulator
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Class and Description |
|---|---|
static class |
Simulator.DemoSim
A simple demo of elevator moving
|
static class |
Simulator.SimShell |
| Constructor and Description |
|---|
Simulator(Building b,
long userInteractionPeriod,
long emergencyPeriod,
long sensorHazardPeriod,
boolean quiet) |
| Modifier and Type | Method and Description |
|---|---|
Simulator |
kill() |
void |
run()
Started at runtime if the argument is set
|
public Simulator(Building b, long userInteractionPeriod, long emergencyPeriod, long sensorHazardPeriod, boolean quiet)
public Simulator kill()
public void run()
run in interface java.lang.Runnable