/// <summary> /// Allows the game to run logic such as updating the world, /// checking for collisions, gathering input, and playing audio. /// </summary> /// <param name="gameTime">Provides a snapshot of timing values.</param> void SetMenusNull() { the_menu = null; the_game_over = null; the_win_menu = null; }
void SetWinMenu() { SetEverythingNull(); the_win_menu = new WinMenu(the_file); the_win_menu.LoadContent(Content); }