renew-js/renew-lib

Add ability to restart simulation after stop

Closed this issue · 0 comments

0x4d commented

Problem

Currently the SimulationStartBehavior uses the init method of the simulator.
It is therefore not possible to halt and restart the simulation.

Solution

The behavior should use the start method and initialize implicitly on the first call.