public void addCloth(Clothes _cloths) { this.armor += _cloths.armor; this.attributes += _cloths.attributes; this.typeCloths = _cloths.typeCloths; //this.armor.addArmor(_cloths.armor); //this.attributes.addAttributes(_cloths.attributes); }
public Clothes(Clothes _cloths) { this.id = _cloths.id; this.amount = _cloths.amount; this.image = _cloths.image; this.name = _cloths.name; this.typeItem = _cloths.typeItem; this.armor = new Armor(_cloths.armor); this.attributes = new Attributes(_cloths.attributes); this.typeCloths = _cloths.typeCloths; }
public Clothes() { this.id = 0; this.amount = 0; this.image = ""; this.name = ""; this.typeItem = _Item.Null; this.armor = new Armor(); this.attributes = new Attributes(); this.typeCloths = _Cloths.Null; }