Exemple #1
0
 public void Startgame()
 {
     //   startScreen = null; // toute les autres a null ?
        // IsLoading = true; // is loading ? dat new new
     //loadingScreen = new LoadingScreen(this);
     //urrentScreen = Screen.LoadingScreen;
     startScreen = null; // toute les autres a null ?
     loadingScreen = null;
     gamePlayScreen = new GamePlayScreen(this);
       //  gamePlayScreen = new GamePlayScreen(this);
     //currentScreen = Screen.GamePlayScreen;
 }
Exemple #2
0
 public void Startgamew()
 {
     startScreen = null; // toute les autres a null ?
     loadingScreen = null;
     gamePlayScreen = new GamePlayScreen(this);
     //currentScreen = Screen.GamePlayScreen;
 }
Exemple #3
0
 /// <summary>
 /// This is called when the game should draw itself.
 /// </summary>
 /// <param name="gameTime">Provides a snapshot of timing values.</param>
 public void startendScreen()
 {
     currentScreen = Screen.GameOverScreen;
     gamePlayScreen = null;
     endScreen = new FinishScreen(this);
 }