void PlayGameMenuEntrySelected(object sender, PlayerIndexEventArgs e) { LoadingScreen.Load(ScreenManager, false, e.PlayerIndex, new GameplayScreen()); }
void QuitGameMenuEntrySelected(object sender, PlayerIndexEventArgs e) { LoadingScreen.Load(this.ScreenManager, false, null, new MainMenuScreen()); }
/// <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); }