public bool slotFull(SlotInventory slot, int pos)
 {
     for (int i = 0; i < inventoryItems.Count; i++)
     {
         if (pos == i && slot.getSlotFull())
         {
             return(true);
         }
     }
     return(false);
 }
 public void addItemSlot(ItemBase item, SlotInventory slot)  // adiciona item no slot
 {
     for (int i = 0; i < inventoryItems.Count; i++)
     {
         if (slot.getSlotFull() == false)
         {
             slot.setItemSlot(item);
             slot.setSlotFull(true);
             slot.setNameItem(item.getNome());
         }
     }
 }