コード例 #1
0
ファイル: Clothing.cs プロジェクト: JMounier/Aegina
 public Tshirt(Tshirt tshirt)
     : base(tshirt)
 {
     this.color = tshirt.color;
     this.type = tshirt.type;
 }
コード例 #2
0
ファイル: Clothing.cs プロジェクト: JMounier/Aegina
 public Tshirt(int id, Text description)
     : base(id, null, description)
 {
     this.color = new Color();
     this.type = TypeTshirt.None;
 }
コード例 #3
0
ファイル: Clothing.cs プロジェクト: JMounier/Aegina
 public Tshirt(int id, Texture2D texture, Text description, Color color, TypeTshirt type)
     : base(id, texture, description)
 {
     this.color = color;
     this.type = type;
 }
コード例 #4
0
ファイル: Clothing.cs プロジェクト: JMounier/Aegina
 // Constructeur
 public Tshirt()
     : base()
 {
     this.color = new Color();
     this.type = TypeTshirt.None;
 }