public bool DropHere(Item item, UISlot targetSlot) { if (AddToInventory(item, targetSlot as InventorySlot)) { Populate(); return(true); } return(false); }
public bool DropHere(Item item, UISlot targetSlot) { if (EquipEquipment(item as Equipment, targetSlot as EquipmentSlot)) { player1Panel.Refresh(); player2Panel.Refresh(); return(true); } return(false); }
public void RemoveFromHere(UISlot slot) { RemoveFromDrop(slot.Item); Refresh(); }
public bool DropHere(Item item, UISlot targetSlot) { AddToDrop(item); Refresh(); return(true); }
public void RemoveFromHere(UISlot slot) { RemoveFromInventory(slot as InventorySlot); }
public void RemoveFromHere(UISlot slot) { UnequipEquipment(slot as EquipmentSlot); player1Panel.Refresh(); player2Panel.Refresh(); }