Example #1
0
        /// <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);
        }
Example #2
0
 void JouerTrial(object sender, EventArgs e)
 {
     TransitionScreen.Load(ScreenManager, this, true, PlayerIndex.One, new InGame.Motus(true, InGame.Motus.TypeDePartie.Simple));
 }
Example #3
0
 void ValiderSelected(object sender, EventArgs e)
 {
     TransitionScreen.Load(ScreenManager, this, true, PlayerIndex.One, new InGame.Motus(facile_bool, _typepartie));
 }