lpzrobots icon indicating copy to clipboard operation
lpzrobots copied to clipboard

Change logic for calling restart() in main loop

Open SimonBirrell opened this issue 7 years ago • 0 comments

This change will mean that

  1. restart() actually gets called every simulation loop
  2. A simulation can be restart by an overloaded version of Simulation::restart() simply returning true.

restart() doesn't seem to be used much in the main repo, but there are a couple of simulations that might need modification.

SimonBirrell avatar Nov 04 '18 07:11 SimonBirrell