/// <summary>
        /// Constructor fills in the menu contents.
        /// </summary>
        public MainMenuScreen()
            : base("Main Menu")
        {
            TransitionOnTime = TimeSpan.FromSeconds(1.0f);
            // Create our menu entries.
            MenuEntry playGameMenuEntry = new MenuEntry("Play Game");
            MenuEntry optionsMenuEntry = new MenuEntry("Options");
            //MenuEntry displayOptionsMenuEntry = new MenuEntry("Print Options");
            MenuEntry instructionsEntry = new MenuEntry("How to Play");
            MenuEntry creditsMenuEntry = new MenuEntry("Credits");
            MenuEntry exitMenuEntry = new MenuEntry("Exit");

            // Hook up menu event handlers.
            playGameMenuEntry.Selected += PlayGameMenuEntrySelected;
            optionsMenuEntry.Selected += OptionsMenuEntrySelected;
            creditsMenuEntry.Selected += CreditsMenuEntrySelected;
            //displayOptionsMenuEntry.Selected += DislayOptionsMenuEntrySelected;
            instructionsEntry.Selected += InstructionsMenuEntrySelected;
            exitMenuEntry.Selected += OnCancel;

            // Add entries to the menu.
            MenuEntries.Add(playGameMenuEntry);
            MenuEntries.Add(optionsMenuEntry);
            MenuEntries.Add(creditsMenuEntry);
            //MenuEntries.Add(displayOptionsMenuEntry);
            MenuEntries.Add(instructionsEntry);
            MenuEntries.Add(exitMenuEntry);
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public OptionsMenuScreen()
            : base("Options")
        {
            // Create our menu entries.
            playerNumberMenuEntry = new MenuEntry(string.Empty);
            playerSpeedMenuEntry = new MenuEntry(string.Empty);
            gameTimeMenuEntry = new MenuEntry(string.Empty);
            spawnIntervalsMenuEntry = new MenuEntry(string.Empty);

            SetMenuEntryText();

            MenuEntry back = new MenuEntry("Back");

            // Hook up menu event handlers.
            playerNumberMenuEntry.Selected += playerNumberMenuEntrySelected;
            playerSpeedMenuEntry.Selected += playerSpeedMenuEntrySelected;
            gameTimeMenuEntry.Selected += gameTimeMenuEntrySelected;
            spawnIntervalsMenuEntry.Selected += spawnIntervalsMenuEntrySelected;
            back.Selected += OnCancel;

            // Add entries to the menu.
            MenuEntries.Add(playerNumberMenuEntry);
            MenuEntries.Add(playerSpeedMenuEntry);
            MenuEntries.Add(gameTimeMenuEntry);
            MenuEntries.Add(spawnIntervalsMenuEntry);
            MenuEntries.Add(back);
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public CreditsMenuScreen()
            : base("Credits")
        {
            // Create our menu entries.
            MenuEntry blankMenuEntry = new MenuEntry("");
            MenuEntry developpersMenuEntry = new MenuEntry("Developpement", Color.White);
            MenuEntry ArtMenuEntry = new MenuEntry("Art Assets", Color.White);
            MenuEntry PkgMgmtMenuEntry = new MenuEntry("Version Management", Color.White);
            MenuEntry QAMenuEntry = new MenuEntry("Quality Control", Color.White);
            MenuEntry SoundMenuEntry = new MenuEntry("Audio Assets", Color.White);

            MenuEntry sandyMenuEntry = new MenuEntry("Sandy Carter", Color.Black);
            MenuEntry sandyMenuEntry2 = new MenuEntry("Sandy Carter", Color.Black);
            MenuEntry shaikahMenuEntry = new MenuEntry("Shaikah Bakerman", Color.Black);
            MenuEntry shaikahMenuEntry2 = new MenuEntry("Shaikah Bakerman", Color.Black);
            MenuEntry xavierMenuEntry = new MenuEntry("Xavier Dupont", Color.Black);
            MenuEntry xavierMenuEntry2 = new MenuEntry("Xavier Dupont", Color.Black);
            MenuEntry ericMenuEntry = new MenuEntry("Eric Cote", Color.Black);
            MenuEntry ericMenuEntry2 = new MenuEntry("Eric Cote", Color.Black);
            MenuEntry markMenuEntry = new MenuEntry("Mark Latimer", Color.Black);

            MenuEntry back = new MenuEntry("Back");

            // Hook up menu event handlers.
            back.Selected += OnCancel;

            // Add entries to the menu.
            MenuEntries.Add(blankMenuEntry);
            MenuEntries.Add(developpersMenuEntry);
            MenuEntries.Add(sandyMenuEntry);
            MenuEntries.Add(shaikahMenuEntry);
            MenuEntries.Add(xavierMenuEntry);
            MenuEntries.Add(ericMenuEntry);
            MenuEntries.Add(blankMenuEntry);

            MenuEntries.Add(ArtMenuEntry);
            MenuEntries.Add(shaikahMenuEntry2);
            MenuEntries.Add(blankMenuEntry);

            MenuEntries.Add(PkgMgmtMenuEntry);
            MenuEntries.Add(sandyMenuEntry2);
            MenuEntries.Add(blankMenuEntry);

            MenuEntries.Add(QAMenuEntry);
            MenuEntries.Add(xavierMenuEntry2);
            MenuEntries.Add(ericMenuEntry2);
            MenuEntries.Add(blankMenuEntry);

            MenuEntries.Add(SoundMenuEntry);
            MenuEntries.Add(markMenuEntry);
            MenuEntries.Add(blankMenuEntry);

            MenuEntries.Add(blankMenuEntry);
            MenuEntries.Add(back);
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public PauseMenuScreen()
            : base("Paused")
        {
            // Create our menu entries.
            MenuEntry resumeGameMenuEntry = new MenuEntry("Resume Game");
            MenuEntry quitGameMenuEntry = new MenuEntry("Quit Game");

            // Hook up menu event handlers.
            resumeGameMenuEntry.Selected += OnCancel;
            quitGameMenuEntry.Selected += QuitGameMenuEntrySelected;

            // Add entries to the menu.
            MenuEntries.Add(resumeGameMenuEntry);
            MenuEntries.Add(quitGameMenuEntry);
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public GameOverMenuScreen(int winner, float score)
            : base("Player " + winner + " wins with " + score + " points.")
        {
            // Create our menu entries.
            MenuEntry newGameMenuEntry = new MenuEntry("New Game");
            MenuEntry quitGameMenuEntry = new MenuEntry("Quit Game");

            // Hook up menu event handlers.
            newGameMenuEntry.Selected += NewGameMenuEntrySelected;
            quitGameMenuEntry.Selected += QuitGameMenuEntrySelected;

            // Add entries to the menu.
            MenuEntries.Add(newGameMenuEntry);
            MenuEntries.Add(quitGameMenuEntry);
        }