public void Deselect() { if (inventory == null) { return; } inventory.Add(item, count); NullifySelection(); }
public int AddItem(ItemData item, int count) { return(linkedInventory.Add(item, count)); }