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