[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[stem-dev] Changed order in Simulation
I changed the order of execution in the run method of the Simulation
class. Now it's the following order:
1. Simulation is updated
2. Listeners are called
3. Simulation sleeps if necessary
Previously the listeners were called after the sleep. Another thing I
changed is that the Simulation does not sleep, if no step is done
afterwards. For example if you press the step button there is no sleep.
The changes are committed to the trunk.