private void buttonAfrica_Click(object sender, EventArgs e)
 {
     listBoxAnimalOutput.Items.Clear();
     canvas.Clear(Color.LimeGreen);
     //creates and simulates africa
     Continent africa = new Africa(listBoxAnimalOutput, randGen, 4, canvas);
     africa.runSimulation();
 }
Exemple #2
0
        private void buttonAfrica_Click(object sender, EventArgs e)
        {
            listBoxAnimalOutput.Items.Clear();
            canvas.Clear(Color.LimeGreen);
            //creates and simulates africa
            Continent africa = new Africa(listBoxAnimalOutput, randGen, 4, canvas);

            africa.runSimulation();
        }