public void Start_Menu() { Console.WriteLine( "In this Game you have to conquer the throne.\nBe avare there are many strange enemyes to face!"); Console.WriteLine("Press 'Space' to play the tutorial battle."); TutorialFight tutorial = new TutorialFight(); ConsoleKeyInfo info = Console.ReadKey(); if (info.Key == ConsoleKey.Spacebar) { tutorial.TutorialInformation(); } else { tutorial.TutorialInformation(); } }
public static void Main_Menu() { var p = new TutorialFight(); Console.WriteLine("Version: {0} | Version Details: {1}", versionNumber, versionDescription); Console.WriteLine("Quotes from the Past: '" + HeroQuote + "'\n"); Console.WriteLine("Gold: {0} | Exp: {1}/{2}. Current Level: {3}.\n", GameOne.Money, GameOne.Experience, GameOne.ExperienceReqUired, GameOne.Level); Console.WriteLine("Story Mode - 'S' - Under Devlopment"); Console.WriteLine("Quick Play - 'Q' - Accessable"); Console.WriteLine("Shop - 'B' - Accessable"); Console.WriteLine("Information - 'I' - Accessable"); Console.WriteLine("Tutorial - 'T' - Accessable"); Console.WriteLine("Stash - 'Space' - Under Devlopment"); if (Alive == false) { Console.WriteLine("Resurrection - 'R' - Accessable"); } Console.WriteLine("Settings - 'U' - Accessable"); Console.WriteLine("Quit Game - 'Tab' - Accessable"); ConsoleKeyInfo info = Console.ReadKey(); switch (info.Key) { case ConsoleKey.U: //Settings Console.Clear(); Program.Settings(); break; case ConsoleKey.T: //Tutorial if (Alive == true) { Console.Clear(); p.TutorialInformation(); } else { Console.Clear(); Pre_Main_Menu(); } break; case ConsoleKey.Tab: //Quit Console.Clear(); break; case ConsoleKey.Q: //Quick Play if (Alive == true) { Console.Clear(); GameOne.GameStart(); } else { Console.Clear(); Pre_Main_Menu(); } break; case ConsoleKey.B: //Shop Console.Clear(); StoreMain.Pre_Store_Screen(); break; case ConsoleKey.I: //Information Console.Clear(); Program.Informations(); break; case ConsoleKey.S: //Story Mode Console.Clear(); StoreMain.Pre_Store_Screen(); break; case ConsoleKey.Spacebar: //LootBox Console.Clear(); Game.LootBox.Pre_LootBox_Screen(); break; default: if (Alive == false && info.Key == ConsoleKey.R) { Resurrection(); } else { Console.Clear(); Pre_Main_Menu(); } break; } }