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>(); }
public Rech(int nb, TypeRech typeRech) { this.nbAction = nb; this.type = typeRech; }