Ejemplo n.º 1
0
 public bool DequipItem()
 {
     if (currentOccupyingItem == null && !occupied)
     {
         return(false);
     }
     else
     {
         occupied = false;
         currentOccupyingItem.DestroyItem(); //no inventory system yet, we destroy the item sadly.
         currentOccupyingItem = null;
         return(true);
     }
 }