private void DisplayMapSelection() { //Load maps mainMaps = Helper.GetAndVerifyMaps(Environment.CurrentDirectory + "\\Map layouts\\Main"); customMaps = Helper.GetAndVerifyMaps(Environment.CurrentDirectory + "\\Map layouts\\Custom"); //New game top part MainMenuHelper.MakeEdges('|', 0); MainMenuHelper.MakeFrame(); MainMenuHelper.MakeEdges('|', Console.WindowHeight - 2); MainMenuHelper.WriteInCenter("New game", 2); MainMenuHelper.FillALine('=', 1, 4); for (int i = 5; i < Console.WindowHeight - 6; i++) { MainMenuHelper.WriteInCenter("|", Console.CursorTop); } //Display main maps MainMenuHelper.WriteText("Main maps", 3, 6); for (int i = 0; i < mainMaps.Count; i++) { if (currentTabIndex == 0 && currentCursorIndex == i) { MainMenuHelper.WriteText(mainMaps[i].Split('\\')[^ 1], 6, ConsoleColor.Gray, ConsoleColor.Blue);