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; }
public void Startgamew() { startScreen = null; // toute les autres a null ? loadingScreen = null; gamePlayScreen = new GamePlayScreen(this); //currentScreen = Screen.GamePlayScreen; }
/// <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); }