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); }
public CompoundObj2IngRecipe(int[] BasicIngredients, ResultingCompoundIngredient compoundFinalObj) { this.basicIngredients = BasicIngredients; this.compoundFinalObj = compoundFinalObj; }