Пример #1
0
 public override void Extra(Weapon weapon)
 {
     if (weapon is TorchWeapon)
         count = count + ((TorchWeapon)weapon).count;
     else
         count = count + 5;
 }
Пример #2
0
 public virtual void Extra(Weapon weapon)
 {
 }
Пример #3
0
 public override void Extra(Weapon weapon)
 {
     //if (count != 9)
     count = count + 1;
 }