Beispiel #1
0
        private void DoChoice(LocationChooser lc, bool hare, int counter)
        {
            var location = lc.ChooseLocation(va, hare, counter);
            var animal   = lc.MakeOrganism(hare);

            // Store in a list first so that they can't see each others' choices
            allAnimals.Add(new Tuple <Vector2D, Animal>(location, animal));
        }
Beispiel #2
0
 public void AddChooser(LocationChooser lc)
 {
     Choosers.Add(lc);
 }