예제 #1
0
 public Arme(string nom, TypesArmes type, CategoriesArmes categorie, int portee,
             Cadence cadence, Degats deg, int pen, int at, int rechValue, TypeRech typeRech)
 {
     this.Nom          = nom;
     this.Type         = type;
     this.Categorie    = categorie;
     this.Portee       = portee;
     this.Cadence      = cadence;
     this.Degats       = deg;
     this.Penetration  = pen;
     this.Autonomie    = at;
     this.Rechargement = new Rech(rechValue, typeRech);
     this.Attributs    = new List <AttributArme>();
 }
예제 #2
0
 public Rech(int nb, TypeRech typeRech)
 {
     this.nbAction = nb;
     this.type     = typeRech;
 }