Пример #1
0
 public Hat(Hat hat)
     : base(hat)
 {
     this.color = hat.color;
     this.type = hat.type;
 }
Пример #2
0
 public Hat(int id, Text description)
     : base(id, null, description)
 {
     this.color = new Color();
     this.type = TypeHat.None;
 }
Пример #3
0
 public Hat(int id, Texture2D texture, Text description, Color color, TypeHat type)
     : base(id, texture, description)
 {
     this.color = color;
     this.type = type;
 }
Пример #4
0
 // Constructeur
 public Hat()
     : base()
 {
     this.color = new Color();
     this.type = TypeHat.None;
 }