public void StartSelLevel() { chooseWorldScreen = null; startScreen = null; chooseLevelScreen = new ChooseLevelScreen(this); currentScreen = Screen.ChooseLevelScreen; }
public void Startgame() { startScreen = null; // toute les autres a null ? // loadingScreen = null; gamePlayScreen = new GamePlayScreen(this); // gamePlayScreen = new GamePlayScreen(this); currentScreen = Screen.GamePlayScreen; }
public void Startcredits() { startScreen = null; creditScreen = new CreditScreen(this); currentScreen = Screen.CreditScreen; }
/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. _spriteBatch = new SpriteBatch(GraphicsDevice); startScreen = new StartScreen(this); currentScreen = Screen.StartScreen; // TODO: use this.Content to load your game content here }
public void StartTutoScreen() { startScreen = null; tutoScreen = new TutoScreen(this); currentScreen = Screen.TutoScreen; }
public void StartSelWorld() { startScreen = null; //endScreen = null; chooseLevelScreen = null; chooseWorldScreen = new ChooseWorldScreen(this); //currentScreen = Screen.ChooseWorldScreen; }