private void RemoveEquipment(EquipmentItem item) { if (Inventory.ContainsKey(item.Category)) { Inventory[item.Category].Remove(item); } }
private void AddEquipment(EquipmentItem item) { if (Inventory.ContainsKey(item.Category)) { Inventory[item.Category].Add(item); } else { Inventory.Add(item.Category, new List <EquipmentItem>() { item }); } }