Exemplo n.º 1
0
 public void AddAnimal(Decorators.FarmAnimal animalToBeAdded, TypeLog typeLog)
 {
     AddAnimal(new FarmAnimal(animalToBeAdded.GetUniqueId(), typeLog));
 }
Exemplo n.º 2
0
        public void AddAnimal(Decorators.FarmAnimal animalToBeAdded)
        {
            var typeLog = new TypeLog(animalToBeAdded.GetTypeString(), animalToBeAdded.GetTypeString());

            AddAnimal(animalToBeAdded, typeLog);
        }