public AnimalWorld(ContinetFactory factory) { herbivore = factory.CreateHerbivore(); carnivore = factory.CreateCarnivore(); }