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