Beispiel #1
0
 public void Unequip(ItemWeapon weapon)
 {
     if (Weapon == weapon)
     {
         Weapon = null;
     }
 }
Beispiel #2
0
 public void Equip(ItemWeapon weapon)
 {
     if (Inventory.Has(weapon))
     {
         Weapon = weapon;
     }
 }