Ejemplo n.º 1
0
 public void UseResources(int[] sectorNum, Recipe recipe, double count)
 {
     foreach (int sector in sectorNum)
     {
         ResourceEngine.DoConvert(resources[sector], recipe, count);
     }
 }
Ejemplo n.º 2
0
        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);
        }