Beispiel #1
0
        private string ShowOptionsMenuToCustomer()
        {
            // TODO:Should be using a data structure to organize
            // this with the enum and produce the list dynamically
            // just no time yet.
            DisplayOutput("[1] Select Small Coffee");
            DisplayOutput("[2] Select Medium Coffee");
            DisplayOutput("[3] Select Large Coffee");
            DisplayOutput("[4] Increment Sugar");
            DisplayOutput("[5] Decrement Sugar");
            DisplayOutput("[6] Increment Cream");
            DisplayOutput("[7] Decrement Cream");
            DisplayOutput("[8] Add currently working coffee to order");
            DisplayOutput("[9] Show Current Working Coffee");
            DisplayOutput("[10] Show Current Order and Total");
            DisplayOutput("[11] Add Payment");
            DisplayOutput("[12] Dispense Order and Change");
            DisplayOutput("Enter Your Selection: ");
            var selection = Console.ReadLine();

            outputHandler.ClearOutput();
            return(selection);
        }