/// <summary> /// Activates the loading screen. /// </summary> public static void Load(ScreenManager screenManager, GameScreen gamescreen, bool loadingIsSlow, PlayerIndex?controllingPlayer, params GameScreen[] screensToLoad) { // Create and activate the loading screen. TransitionScreen loadingScreen = new TransitionScreen(screenManager, gamescreen, loadingIsSlow, screensToLoad); screenManager.AddScreen(loadingScreen); }
void JouerTrial(object sender, EventArgs e) { TransitionScreen.Load(ScreenManager, this, true, PlayerIndex.One, new InGame.Motus(true, InGame.Motus.TypeDePartie.Simple)); }
void ValiderSelected(object sender, EventArgs e) { TransitionScreen.Load(ScreenManager, this, true, PlayerIndex.One, new InGame.Motus(facile_bool, _typepartie)); }