Beispiel #1
0
 public Lion(IWayToSurvive way, float weight)
     : base(way)
 {
     this.Weight     = weight;
     this.HairColor  = Color.brown;
     this.HairLength = 1;
 }
Beispiel #2
0
 public Elephant(IWayToSurvive way, float weight)
     : base(way)
 {
     this.Weight = weight;
     this.HairColor = Color.grey;
     this.HairLength = 0;
 }
Beispiel #3
0
 public Eagle(IWayToSurvive way, float weight)
     : base(way)
 {
     this.Weight            = weight;
     this.FlyingOpportunity = true;
     this.BeakLength        = 1;
 }
Beispiel #4
0
 public Bird(IWayToSurvive way)
     : base(way)
 {
     this.AmountOfLegs = 2;
 }
Beispiel #5
0
 public Animal(IWayToSurvive way)
 {
     this.wayToSurvive = way;
 }
Beispiel #6
0
 public Mammal(IWayToSurvive way)
     : base(way)
 {
     this.AmountOfLegs = 4;
 }