protected virtual void ApplyItemEffects(Item item)
 {
     this.HealthPoints += item.HealthEffect;
     this.DefensePoints += item.DefenseEffect;
 }
 public virtual void RemoveFromInventory(Item item)
 {
     this.Inventory.Remove(item);
     this.RemoveItemEffects(item);
 }
 public virtual void AddToInventory(Item item)
 {
     this.Inventory.Add(item);
     this.ApplyItemEffects(item);
 }
 protected virtual void RemoveItemEffects(Item item)
 {
     this.HealthPoints -= item.HealthEffect;
     this.DefensePoints -= item.DefenseEffect;
     if (this.HealthPoints < 0)
     {
         this.HealthPoints = 1;
     }
 }
 protected override void RemoveItemEffects(Item item)
 {
     this.AttackPoints -= item.AttackEffect;
     base.RemoveItemEffects(item);
 }
 protected override void ApplyItemEffects(Item item)
 {
     this.AttackPoints += item.AttackEffect;
     base.ApplyItemEffects(item);
 }