Пример #1
0
        public static void Display()
        {
            Console.Clear();

            Console.Write(TextUtils.WordWrap(outputBuff, Console.WindowWidth));

            Console.WriteLine("What will you do?");
            Console.Write(">");

            outputBuff = "";
        }
Пример #2
0
        public static void ShowTitle()
        {
            Console.Clear();

            Console.WriteLine(TextUtils.WordWrap("INPUT TITLE SCREEN DESCRIPTION HERE", Console.WindowWidth));


            Console.WriteLine("\n\nPress any key to begin....");
            Console.CursorVisible = false;
            Console.ReadKey();
            Console.CursorVisible = true;
            Console.Clear();
        }
Пример #3
0
        public static void EndGame(string endingText)
        {
            Program.exit = true;

            Console.Clear();

            Console.WriteLine(TextUtils.WordWrap(endingText, Console.WindowWidth));
            Console.WriteLine("\nYou may now close this console.");
            Console.CursorVisible = false;

            while (true)
            {
                Console.ReadKey(true);
            }
        }
Пример #4
0
 private static void ShowHelp()
 {
     Console.Clear();
     Console.WriteLine(TextUtils.WordWrap("Help menu not inputted: for info on commands open in VSC# and look in CommandProc class and commands in switch command.", Console.WindowWidth));
 }