public void AddItem(ItemType itemType, decimal amount) { Items [itemType] = (decimal)Items [itemType] + amount; if (Demands != null && Demands.GetDemandAmount(itemType) > 0) { Demands.RemoveDemand(itemType, amount); } }