protected AnimalBase(float height, float weight, string eyeColor, IMakeASoundable aSound) { Height = height; Weight = weight; EyeColor = eyeColor; ASound = aSound; }
public Wolf(float height, float weight, string eyeColor, string habitat, DateTime dateOfFind, bool isItAlpha, IMakeASoundable aSound) : base(height, weight, eyeColor, habitat, dateOfFind, aSound) { IsItAlpha = isItAlpha; }
public StorkParser(IMakeASoundable aSound) { _aSound = aSound; }
protected BirdBase(float height, float weight, string eyeColor, int flyHeight, IMakeASoundable aSound) : base(height, weight, eyeColor, aSound) { FlyHeight = flyHeight; }
public Tiger(float height, float weight, string eyeColor, string habitat, DateTime dateOfFind, IMakeASoundable aSound) : base(height, weight, eyeColor, habitat, dateOfFind, aSound) { }
public Dog(float height, float weight, string eyeColor, string name, string breed, bool isItVaccinated, string coatColor, DateTime birthDate, bool isItTrained, IMakeASoundable aSound) : base(height, weight, eyeColor, name, breed, isItVaccinated, coatColor, birthDate, aSound) { IsItTrained = isItTrained; }
public Chicken(float height, float weight, string eyeColor, int flyheight, IMakeASoundable aSound) : base(height, weight, eyeColor, flyheight, aSound) { }
public TigerParser(IMakeASoundable aSound) { _aSound = aSound; }
public ChickenParser(IMakeASoundable aSound) { _aSound = aSound; }
public CatParser(IMakeASoundable aSound) { _aSound = aSound; }
public DogParser(IMakeASoundable aSound) { _aSound = aSound; }
protected WildAnimalBase(float height, float weight, string eyeColor, string habitat, DateTime dateOfFind, IMakeASoundable aSound) : base(height, weight, eyeColor, aSound) { Habitat = habitat; DateOfFind = dateOfFind; }
protected HomeAnimalBase(float height, float weight, string eyeColor, string name, string breed, bool isItVaccinated, string coatColor, DateTime birthDate, IMakeASoundable aSound) : base(height, weight, eyeColor, aSound) { Name = name; Breed = breed; IsItVaccinated = isItVaccinated; CoatColor = coatColor; BirthDate = birthDate; }
//Дублирование кода конструтора public WolfParser(IMakeASoundable aSound) { _aSound = aSound; }
public Stork(float height, float weight, string eyeColor, int flyHeight, IMakeASoundable aSound) : base(height, weight, eyeColor, flyHeight, aSound) { }