static void Main(string[] args) { Console.SetWindowSize(Console.LargestWindowWidth, Console.LargestWindowHeight); ShowWindow(ThisConsole, MAXIMIZE); SpecMonster.AddMonster(); Welcome(); Console.Clear(); if (keepPlaing) { ChoiseAvatar(); } Menu(); ShowByeBye(); }
public static void Menu() { while (choise != 4 && keepPlaing == true) { if (MyPlayer.Hp == 0) { Levels.PrintInTheMiddle("Let's try again " + MyPlayer.Name); SpecMonster.AddMonster(); ResetPlayer(); ResetMonsters(); ShowDetails(); Console.WriteLine(); } ShowMeny(); FourActions(); if (Levels.ans == "y") { keepPlaing = true; } } }