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