// '' <summary> // '' Draws the settings menu to the screen. // '' </summary> // '' <remarks> // '' Also shows the main menu // '' </remarks> public static void DrawSettings() { // Clears the Screen to Black // SwinGame.DrawText("Settings", Color.White, GameFont("ArialLarge"), 50, 50) MenuController.DrawButtons(MAIN_MENU); MenuController.DrawButtons(SETUP_MENU, 1, 1); }
// '' <summary> // '' Draw the buttons associated with a top level menu. // '' </summary> // '' <param name="menu">the index of the menu to draw</param> private static void DrawButtons(int menu) { MenuController.DrawButtons(menu, 0, 0); }
// '' <summary> // '' Draws the Game menu to the screen // '' </summary> public static void DrawGameMenu() { // Clears the Screen to Black // SwinGame.DrawText("Paused", Color.White, GameFont("ArialLarge"), 50, 50) MenuController.DrawButtons(GAME_MENU); }
// '' <summary> // '' Draws the main menu to the screen. // '' </summary> public static void DrawMainMenu() { // Clears the Screen to Black // SwinGame.DrawText("Main Menu", Color.White, GameFont("ArialLarge"), 50, 50) MenuController.DrawButtons(MAIN_MENU); }