public Dwarf(String name, int hP, Axe weapon, Chestplate armor, int baseAttackPower, int baseDefensePower, int baseHealingPower) { this.Name = name; this.HP = hP; this.Weapon = weapon; this.Armor = armor; this.baseAttackPower = baseAttackPower; this.baseDefensePower = baseDefensePower; this.baseHealingPower = baseHealingPower; }
public void ChangeChestplate(Chestplate newchestplate) { this.RemoveChestplate(); this.Armor = newchestplate; }
public void RemoveChestplate() { this.Armor = null; }