Пример #1
0
 public PotionDeForce(int Id, string nom, string description, int Cout, int Quantite) : base()
 {
     this.Id          = Id;
     this.Nom         = nom;
     this.Description = description;
     this.Cout        = Cout;
     this.Quantite    = Quantite;
     Effets.Add(force);
 }
Пример #2
0
 public Sphere(int Id, string nom, string description, int Cout, int Quantite) : base()
 {
     this.Id          = Id;
     this.Nom         = nom;
     this.Description = description;
     this.Cout        = Cout;
     this.Quantite    = Quantite;
     Effets.Add(capture);
 }
Пример #3
0
 // Constructeur d'ObjetSpecial
 public ObjetSpecial(string nom, string indic, Effets effet) : base(nom, indic)
 {
     _effet = effet;
 }
Пример #4
0
 // Constructeur de Potion
 public Potion(string nom, string indic, Effets effet, List <Substances> composition) : base(nom, indic, effet)
 {
     _composition = composition;
 }