/// <summary> /// Adds an ingedient to the PotionBuilder. /// </summary> /// <param name="ingredient"></param> public void addIngredient(Ingredient ingredient) { potionIngredient = ingredient; }
/// <summary> /// Standard Constructor for the Stock Ingredient Command. /// </summary> /// <param name="system"></param> /// <param name="i"></param> public StockIngredientCommand(BrewersBenchSystem system, Ingredient i) : base(system) { ingredient = i; }
/// <summary> /// Stocks a new Ingredient. /// </summary> /// <param name="i"></param> public void stockIngredient(Ingredient i) { dbQuery.InsertNewIngredient(i); stockedIngredients = dbQuery.queryIngredients(); }