/// <summary>
        /// Event handler for when the Load Game menu entry is selected.
        /// </summary>
        void LoadGameMenuEntrySelected(object sender, EventArgs e)
        {
            SaveLoadScreen loadGameScreen =
                new SaveLoadScreen(SaveLoadScreen.SaveLoadScreenMode.Load);

            loadGameScreen.LoadingSaveGame += new SaveLoadScreen.LoadingSaveGameHandler(
                loadGameScreen_LoadingSaveGame);
            ScreenManager.AddScreen(loadGameScreen);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Event handler for when the Load Game menu entry is selected.
 /// </summary>
 void LoadGameMenuEntrySelected(object sender, EventArgs e)
 {
     SaveLoadScreen loadGameScreen =
         new SaveLoadScreen(SaveLoadScreen.SaveLoadScreenMode.Load);
     loadGameScreen.LoadingSaveGame += new SaveLoadScreen.LoadingSaveGameHandler(
         loadGameScreen_LoadingSaveGame);
     ScreenManager.AddScreen(loadGameScreen);
 }