Exemple #1
0
        static RecipeFactory()
        {
            Recipe granolarBar = new Recipe(1, "Granola bar");

            granolarBar.AddIngredients(3001, 1);
            granolarBar.AddIngredients(3002, 1);
            granolarBar.AddIngredients(3003, 1);
            granolarBar.AddOutputItems(2001, 1);

            _recipes.Add(granolarBar);
        }