Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public void ChangeChestplate(Chestplate newchestplate)
 {
     this.RemoveChestplate();
     this.Armor = newchestplate;
 }
Esempio n. 3
0
 public void RemoveChestplate()
 {
     this.Armor = null;
 }