Ejemplo n.º 1
0
        public void StartSelLevel()
        {
            chooseWorldScreen = null;
            startScreen = null;

            chooseLevelScreen = new ChooseLevelScreen(this);
            currentScreen = Screen.ChooseLevelScreen;
        }
Ejemplo n.º 2
0
 public void Startgame()
 {
     startScreen = null; // toute les autres a null ?
        // loadingScreen = null;
     gamePlayScreen = new GamePlayScreen(this);
     //  gamePlayScreen = new GamePlayScreen(this);
     currentScreen = Screen.GamePlayScreen;
 }
Ejemplo n.º 3
0
 public void Startcredits()
 {
     startScreen = null;
     creditScreen = new CreditScreen(this);
     currentScreen = Screen.CreditScreen;
 }
Ejemplo n.º 4
0
        /// <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
        }
Ejemplo n.º 5
0
 public void StartTutoScreen()
 {
     startScreen = null;
     tutoScreen = new TutoScreen(this);
     currentScreen = Screen.TutoScreen;
 }
Ejemplo n.º 6
0
        public void StartSelWorld()
        {
            startScreen = null;
            //endScreen = null;
            chooseLevelScreen = null;

            chooseWorldScreen = new ChooseWorldScreen(this);
            //currentScreen = Screen.ChooseWorldScreen;
        }