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; } }
private void btnStore_Click(object sender, EventArgs e) { StoreMain frm = new StoreMain(); frm.ShowDialog(); }