private void PreInit() { PetriDish.Genesis(); initGrid(); InitInterface(); canvas.Refresh(); }
private void Terminate() { generation.Stop(); PetriDish.ResetColony(); canvas.Refresh(); InitInterface(); }
private void generation_Tick(object sender, EventArgs e) { PetriDish.SpawnNextGeneration(); CurrentGeneration.Text = PetriDish.CurrentGeneration.ToString(); canvas.Refresh(); }