private void StopEvolution(WorldForm form) { if (runner != null) { runner.Stop(); runner.UpdateEvent -= form.Runner_UpdateEvent; runner = null; } }
internal void SetRunner(EvolutionRunner runner) { Runner = runner; DrawBackground(); }
private void RunEvolution(WorldForm form) { runner = new EvolutionRunner(dbContext, mutantManager, form.EvolverSettings); runner.UpdateEvent += form.Runner_UpdateEvent; runner.Run(); }