Example #1
0
 public void Update(Weapon weapon)
 {
     this.Inventory.Add(weapon);
     this.AttackPoints += weapon.AttackBonus;
     this.HealthPoints += weapon.HealthBonus;
 }
Example #2
0
 public void Update(Weapon weapon)
 {
     this.Inventory.Add(weapon);
 }