Example #1
0
 protected AnimalBase(float height, float weight, string eyeColor, IMakeASoundable aSound)
 {
     Height   = height;
     Weight   = weight;
     EyeColor = eyeColor;
     ASound   = aSound;
 }
Example #2
0
 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;
 }
Example #3
0
 public StorkParser(IMakeASoundable aSound)
 {
     _aSound = aSound;
 }
Example #4
0
 protected BirdBase(float height, float weight, string eyeColor, int flyHeight, IMakeASoundable aSound) : base(height, weight, eyeColor, aSound)
 {
     FlyHeight = flyHeight;
 }
Example #5
0
 public Tiger(float height, float weight, string eyeColor, string habitat, DateTime dateOfFind, IMakeASoundable aSound)
     : base(height, weight, eyeColor, habitat, dateOfFind, aSound)
 {
 }
Example #6
0
 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;
 }
Example #7
0
 public Chicken(float height, float weight, string eyeColor, int flyheight, IMakeASoundable aSound) : base(height, weight, eyeColor, flyheight, aSound)
 {
 }
Example #8
0
 public TigerParser(IMakeASoundable aSound)
 {
     _aSound = aSound;
 }
Example #9
0
 public ChickenParser(IMakeASoundable aSound)
 {
     _aSound = aSound;
 }
Example #10
0
 public CatParser(IMakeASoundable aSound)
 {
     _aSound = aSound;
 }
Example #11
0
 public DogParser(IMakeASoundable aSound)
 {
     _aSound = aSound;
 }
Example #12
0
 protected WildAnimalBase(float height, float weight, string eyeColor, string habitat, DateTime dateOfFind, IMakeASoundable aSound) : base(height, weight, eyeColor, aSound)
 {
     Habitat    = habitat;
     DateOfFind = dateOfFind;
 }
Example #13
0
 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;
 }
Example #14
0
 //Дублирование кода конструтора
 public WolfParser(IMakeASoundable aSound)
 {
     _aSound = aSound;
 }
Example #15
0
 public Stork(float height, float weight, string eyeColor, int flyHeight, IMakeASoundable aSound) : base(height, weight, eyeColor, flyHeight, aSound)
 {
 }