示例#1
0
        public void Setup()
        {
            Burger burgerOne = new Burger("Biggest Baddest Burger", 5000, 250, 25, 500, "Ground Angus", 27.96, new List <string>()
            {
                "Bacon", "More Bacon", "Some Eggs"
            }, 3);
            Burger burgerTwo = new Burger("V-Burg", 650, 15, 35, 100, "Impossible Patty", 16.95, new List <string>()
            {
                "V-Cheese", "Tomato", "Lettuce"
            }, 2);
            Burger burgerThree = new Burger("Cowboys Last Ride", 777, 20, 70, 50, "Minecraft Horse Meat", 19.20, new List <string>()
            {
                "Freshly Ground Creeper", "Arrow Shot From Skeleton", "Blaze Rod Powder"
            }, 3);

            Burgers.AddRange(new FoodItem[] { burgerOne, burgerTwo, burgerThree });
            Milkshake shakeone   = new Milkshake("Chocolate", "Malt", "Chocolate Thundas Protein Shake", 200, 10, 50, 00, 9.99, 1);
            Milkshake shaketwo   = new Milkshake("Vanilla", "Classic Shake", "Vanilla Willy's Olde Fashioned", 200, 50, 5, 100, 12.15, 2);
            Milkshake shakeThree = new Milkshake("Strawberry", "Float", "Strawberry Sink or Float", 350, 25, 5, 0, 7.99, 2);

            Shakes.AddRange(new FoodItem[] { shakeone, shaketwo, shakeThree });
            Fries fryOne   = new Fries("Sweet Potato", "Criss-Cut", "Sweeties Sweet Potato Frydish", 750, 300, 20, 200, 8.75, 3);
            Fries fryTwo   = new Fries("Golden Russett", "Classic French", "Golden Frenchies", 400, 95, 10, 100, 5.95, 1);
            Fries fryThree = new Fries("Purple Potato", "Tater Tot", "Purple Power Balls", 450, 75, 17, 20, 12.39, 2);

            Fries.AddRange(new FoodItem[] { fryOne, fryTwo, fryThree });
            FrontDeskPie pieOne   = new FrontDeskPie("Hostess", 125, 9, 5, 25, 7.25, "Chocolate Sunrise", true);
            FrontDeskPie pieTwo   = new FrontDeskPie("Grandma", 200, 0, 20, 50, 12.12, "Mostly Love But Some Rhubarb Crisp", false);
            FrontDeskPie pieThree = new FrontDeskPie("Neighbor Joe", 150, 5, 10, 40, 10.99, "Mystery", true);

            Pies.AddRange(new FoodMerch[] { pieOne, pieTwo, pieThree });
            Food = Burgers;

            Messages.Add($@"
 _                                   _                _    
| |                                 | |              | |   
| |__  _   _ _ __ __ _  ___ _ __ ___| |__   __ _  ___| | __
| '_ \| | | | '__/ _` |/ _ \ '__/ __| '_ \ / _` |/ __| |/ /
| |_) | |_| | | | (_| |  __/ |  \__ \ | | | (_| | (__|   < 
|_.__/ \__,_|_|  \__, |\___|_|  |___/_| |_|\__,_|\___|_|\_\
                  __/ |                                    
                 |___/           ");
            Messages.Add("\nBurgers Available\n");
        }
示例#2
0
        public void Setup()
        {
            //MilkShake
            Shake shake1 = new Shake("Chacolate Shake", 2, 2, 2, 2, new string[] { "Chacolate Stuff", "Milk Stuff", "Shake Stuff" }, "Milk Shake", 3, 2);
            Shake shake2 = new Shake("Vanilla Shake", 2, 2, 2, 2, new string[] { "Vanilla Stuff", "Milk Stuff", "Shake Stuff" }, "Milk Shake", 3, 2);
            //Molt
            Shake molt1 = new Shake("Chacolate Shake", 2, 2, 2, 2, new string[] { "Chacolate Stuff", "Molt Stuff", "Molt Stuff" }, "Molt Shake", 4, 3);
            Shake molt2 = new Shake("Vanilla Shake", 2, 2, 2, 2, new string[] { "Vanilla Stuff", "Molt Stuff", "Molt Stuff" }, "Molt Shake", 4, 3);
            //Floats
            Shake float1 = new Shake("Rootbeer Float", 2, 2, 2, 2, new string[] { "Rootbeer", "Vanilla Ice Cream", "Milk Stuff" }, "Rootbeer Float", 4, 3);
            Shake float2 = new Shake("Sprite Float", 2, 2, 2, 2, new string[] { "Sprite", "Sherbert Ice Cream" }, "Sprite Float", 4, 3);



            //Added Shakes
            Shakes.AddRange(new Shake[] { shake1, shake2, molt1, molt2, float1, float2 });

            //FIXME Input from User to Cart?????
            // string input = Console.ReadLine();
            // Cart.AddCart(input);
        }