Exemple #1
0
        /// <summary>
        /// Call to the UI to display the Main Background. Does not display any messages, but renders the background CSV data into screen display.
        /// </summary>
        public static void DisplayMainScreen()
        {
            BackgroundCSV background     = new BackgroundCSV();
            string        mainBackground = RunReplacer(background.background);

            DrawCSVArt(mainBackground);
        }
Exemple #2
0
        /// <summary>
        /// Displays main welcome screen. Creates an instance of the backgroundCSV class to read data from. RunReplacer will parse the CSV data into UI usable string. DrawCSV art will process and parse the data into screen write data. Then displays welcome message and awaits user.
        /// </summary>
        public static void DisplayWelcomeScreen()
        {
            BackgroundCSV background    = new BackgroundCSV();
            string        welcomeOutput = RunReplacer(background.welcome);

            DrawCSVArt(welcomeOutput);
            WriteLiteralColor("ͰGRBL     Welcome, friend.\n\n    Would you care for\n\n         a Soda?\n\nͰGRGEPress any key to continues...Ω", 26, 9);
            Console.ReadKey(true);
        }