void PlayGameMenuEntrySelected(object sender, PlayerIndexEventArgs e) { LoadingScreen.Load(ScreenManager, true, e.PlayerIndex, GameScreenFactory.Create <GameplayScreen>()); }
void OptionsSelected(object sender, PlayerIndexEventArgs e) { LoadingScreen.Load(ScreenManager, true, e.PlayerIndex, GameScreenFactory.Create <BackgroundScreen>(), GameScreenFactory.Create <OptionsMenuScreen>()); }
protected override void OnCancel(PlayerIndex playerIndex) { LoadingScreen.Load(ScreenManager, true, playerIndex, gameplayScreen); }
protected override void OnCancel(PlayerIndex playerIndex) { LoadingScreen.Load(ScreenManager, true, playerIndex, GameScreenFactory.Create <BackgroundScreen>(), GameScreenFactory.Create <MainMenuScreen>()); }
//void OnPreviewSelected(object sender, PlayerIndexEventArgs e) //{ // LoadingScreen.Load(ScreenManager, true, e.PlayerIndex, new PreviewScreen(gameplayScreen)); //} void OnResumeGameSelected(object sender, PlayerIndexEventArgs e) { LoadingScreen.Load(ScreenManager, true, e.PlayerIndex, gameplayScreen); }