Esempio n. 1
0
 public void UnEquipArmor(Armor EquippedArmor)
 {
     ArmorsBag.Add(EquippedArmor);
     Defense -= EquippedArmor.Defense;
     Speed   += EquippedArmor.Defense;
     Console.WriteLine($"You Are No Longer Wearing {EquippedArmor.Name} For + {EquippedArmor.Defense} Defense");
     this.EquippedArmor = null;
     Console.WriteLine();
     ShowInventory();
 }
Esempio n. 2
0
 public void EquipArmor(Armor armor)
 {
     this.EquippedArmor = armor;
     ArmorsBag.Add(armor);
 }