/// <summary> /// Buys the specified amount. /// </summary> /// <param name="amount">The amount.</param> /// <param name="supplement">The supplement.</param> public void Buy(double amount, string supplement) { theModel.AddToStore(amount, supplement); }
/// <summary> /// Buys the specified amount. /// </summary> /// <param name="amount">Amount (kg fresh weight) of the supplement to be included in the store</param> /// <param name="supplement">The supplement.</param> public void Buy(double amount, string supplement) { OutputSummary.WriteMessage(this, "Purchase " + amount.ToString() + "kg of " + supplement); theModel.AddToStore(amount, supplement); }