Esempio n. 1
0
 public bool CheckTwoIngredientsComposition()
 {
     for (int i = 0; i < recipes.Length; i++)
     {
         compoundObj = recipes[i].MixIngredients(objAddId, objInvId);
         if (compoundObj.Id != 999)
         {
             return(true);
         }
     }
     return(false);
 }
Esempio n. 2
0
 public CompoundObj2IngRecipe(int[] BasicIngredients, ResultingCompoundIngredient compoundFinalObj)
 {
     this.basicIngredients = BasicIngredients;
     this.compoundFinalObj = compoundFinalObj;
 }