public void UseResources(int[] sectorNum, Recipe recipe, double count) { foreach (int sector in sectorNum) { ResourceEngine.DoConvert(resources[sector], recipe, count); } }
public string GetString(string ItemName) { if (ItemName == null) { return(""); } ResourceEngine re = new ResourceEngine(); string result = string.Empty; try { result = re.GetString(CurrentLanguage, ItemName); } catch (Exception ex) { } return(result); }