void HighScoreMenuEntrySelected(object sender, PlayerIndexEventArgs e)
        {
            foreach (GameScreen screen in ScreenManager.GetScreens())
                screen.ExitScreen();

            ScreenManager.AddScreen(new BackgroundScreen(), null);
            ScreenManager.AddScreen(new HighScoreScreen(), null);
        }
        /// <summary>
        /// Event handler for when the Play Game menu entry is selected.
        /// </summary>
        void PlayGameMenuEntrySelected(object sender, PlayerIndexEventArgs e)
        {
            string arcadeWelcome = "Collect as many points\nyou can in 60 seconds.";
            string classicWelcome = "Keep the ball in air\nas long as possible.";
            string commonWelcome = "\n\n   Tap to Start";
            arcadeWelcome += commonWelcome;
            classicWelcome += commonWelcome;

            LoadingScreen.Load(ScreenManager, true, e.PlayerIndex, new GameplayScreen(),
                new MessageBoxScreen(OptionsMenuScreen.currentGameMode==gameMode.Arcade ? arcadeWelcome: classicWelcome, false));
        }
 /// <summary>
 /// Event handler for when the Options menu entry is selected.
 /// </summary>
 void OptionsMenuEntrySelected(object sender, PlayerIndexEventArgs e)
 {
     ScreenManager.AddScreen(new OptionsMenuScreen(), e.PlayerIndex);
 }
 /// <summary>
 /// Helper overload makes it easy to use OnCancel as a MenuEntry event handler.
 /// </summary>
 protected void OnCancel(object sender, PlayerIndexEventArgs e)
 {
     OnCancel(e.PlayerIndex);
 }
        void ExitMenuEntrySelected(object sender, PlayerIndexEventArgs e)
        {
            HighScoreScreen.SaveHighscore();

            ScreenManager.Game.Exit();
        }
        /// <summary>
        /// Event handler for when the Ungulate menu entry is selected.
        /// </summary>
        void gameModeMenuEntrySelected(object sender, PlayerIndexEventArgs e)
        {
            currentGameMode++;

            if (currentGameMode > gameMode.Arcade)
                currentGameMode = 0;

            SetMenuEntryText();
        }
        void gameDifficultyMenuEntrySelected(object sender, PlayerIndexEventArgs e)
        {
            currentGameDifficulty++;
            if (currentGameDifficulty > gameDifficulty.Hard)
                currentGameDifficulty = 0;

            SetMenuEntryText();
        }
        /// <summary>
        /// Event handler for when the Elf menu entry is selected.
        /// </summary>
        void ElfMenuEntrySelected(object sender, PlayerIndexEventArgs e)
        {
            elf++;

            SetMenuEntryText();
        }
        /// <summary>
        /// Event handler for when the Frobnicate menu entry is selected.
        /// </summary>
        void SoundEffectsMenuEntrySelected(object sender, PlayerIndexEventArgs e)
        {
            soundEffects = !soundEffects;

            SetMenuEntryText();
        }
        /// <summary>
        /// Event handler for when the Language menu entry is selected.
        /// </summary>
        void LanguageMenuEntrySelected(object sender, PlayerIndexEventArgs e)
        {
            currentLanguage = (currentLanguage + 1) % languages.Length;

            SetMenuEntryText();
        }