Exemplo n.º 1
0
 public Supplies()
 {
     catFood     = new CatFood();
     dogFood     = new DogFood();
     birdFood    = new BirdFood();
     reptileFood = new ReptileFood();
 }
Exemplo n.º 2
0
        private void feedReptiles(ReptileFood theReptileFood)
        {
            foreach (var reptile in Reptiles)
            {
                reptile.feedIt(reptile.FeedingAmount);
                theReptileFood.level -= reptile.FeedingAmount;
            }
            throw new System.NotImplementedException();

        }