Example #1
0
 public Pant(int id, Texture2D texture, Text description, Color color, TypePant type)
     : base(id, texture, description)
 {
     this.color = color;
     this.type = type;
 }
Example #2
0
 public Pant(Pant pant)
     : base(pant)
 {
     this.color = pant.color;
     this.type = pant.type;
 }
Example #3
0
 // Constructeur
 public Pant()
     : base()
 {
     this.color = new Color();
     this.type = TypePant.Overalls;
 }