//Makes the resource dictionary usable by populating the values and keys void PopulateResourceDictionary() { foreach (ResourceTypes type in ResourceTypes.GetValues(typeof(ResourceTypes))) { _resourcesInWarehouse.Add(type, 0); } }