public Inventory HasHelmetEquipped(ArmourBase armour) { if (armour.ArmourType.Equals(ArmourType.HELMET)) { this.inventory.EquipNewHelmet(armour); } return(inventory); }
public Inventory HasArmour(ArmourBase armour) { this.inventory.AddItem(armour); return(inventory); }
internal void EquipNewHelmet(ArmourBase newHelm) { System.Console.WriteLine($"You put away the {WieldedHelmet.Name} and equip the {newHelm.Name} "); this.Items.Add(this.WieldedHelmet); this.WieldedHelmet = newHelm; }