private void DisplayEscMenu() { MainMenuHelper.MakeFrame(); MainMenuHelper.WriteInCenter("What do you want to do?", 2); MainMenuHelper.WriteSelectableTextInCenter("Go back", 6, 0, currentCursorIndex); MainMenuHelper.WriteSelectableTextInCenter("Save and exit", 8, 1, currentCursorIndex); MainMenuHelper.WriteSelectableTextInCenter("Exit without saving", 10, 2, currentCursorIndex); }
private void DisplayMainMenu() { CursorIndexLimit = 3; MainMenuHelper.MakeFrame(); //Title text DisplayMainTitle(); MainMenuHelper.FillALine('=', 1, 13); MainMenuHelper.WriteSelectableTextInCenter("Play", 15, 0, currentCursorIndex); MainMenuHelper.WriteSelectableTextInCenter("Editor", 18, 1, currentCursorIndex); MainMenuHelper.WriteSelectableTextInCenter("Settings", 21, 2, currentCursorIndex); MainMenuHelper.WriteSelectableTextInCenter("Exit", 24, 3, currentCursorIndex); }
private void DisplayMenu() { currentCursorIndexLimit = 2; Console.SetWindowSize(30, 14); Console.SetBufferSize(30, 14); MainMenuHelper.MakeFrame(); MainMenuHelper.WriteInCenter("Map editor", 2); MainMenuHelper.FillALine('=', 1, 4); MainMenuHelper.WriteSelectableTextInCenter("Create a new map", 6, 0, currentCursorIndex); MainMenuHelper.WriteSelectableTextInCenter("Edit an existing map", 8, 1, currentCursorIndex); MainMenuHelper.WriteSelectableTextInCenter("Back to main menu", 10, 2, currentCursorIndex); }