Exemple #1
0
 void AddRecepieIngredient(string ingredientName, mesurementType mesurementType, float ammount)
 {
     m_recepieIngredients.Add(new RecepieIngredient(ingredientName, mesurementType, ammount));
 }
Exemple #2
0
 public RecepieIngredient(string ingredientName, mesurementType mesurementType, float ammount)
 {
     m_ingredientName = ingredientName;
     m_mesurementType = mesurementType;
     m_ammount        = ammount;
 }