Simulate methods
public void simulate()
Simulate continuously.
public void simulate(double simulationTime)
Simulate for simulationTime time.
public void simulate(int numTicks)
Simulate for numTicks ticks.
public void addSimulateDoneListener(SimulateDoneListener listener)
Adds a SimulateDoneListener that is called back when simulate() is completed. SimulateDoneListener is an interface whose sole method is public void simulateDone()
public void stop()
Stop simulating.