public bool DropHere(Item item, UISlot targetSlot)
        {
            if (AddToInventory(item, targetSlot as InventorySlot))
            {
                Populate();
                return(true);
            }

            return(false);
        }
Exemple #2
0
        public bool DropHere(Item item, UISlot targetSlot)
        {
            if (EquipEquipment(item as Equipment, targetSlot as EquipmentSlot))
            {
                player1Panel.Refresh();
                player2Panel.Refresh();
                return(true);
            }

            return(false);
        }
Exemple #3
0
 public void RemoveFromHere(UISlot slot)
 {
     RemoveFromDrop(slot.Item);
     Refresh();
 }
Exemple #4
0
 public bool DropHere(Item item, UISlot targetSlot)
 {
     AddToDrop(item);
     Refresh();
     return(true);
 }
 public void RemoveFromHere(UISlot slot)
 {
     RemoveFromInventory(slot as InventorySlot);
 }
Exemple #6
0
 public void RemoveFromHere(UISlot slot)
 {
     UnequipEquipment(slot as EquipmentSlot);
     player1Panel.Refresh();
     player2Panel.Refresh();
 }