try {
simulation.simulate(listeners);
} catch (Throwable e) {
- // System.out.println("Simulation interrupted:");
- // e.printStackTrace();
throwable = e;
return null;
}
/**
* Called after a simulation is successfully simulated. This method is not
* called if the simulation ends in an exception.
- *
- * @param sim the simulation including the flight data
*/
protected abstract void simulationDone();