Пример #1
0
        public void StartSelLevel()
        {
            chooseWorldScreen = null;
            startScreen = null;

            chooseLevelScreen = new ChooseLevelScreen(this);
            currentScreen = Screen.ChooseLevelScreen;
        }
Пример #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;
 }
Пример #3
0
 public void Startcredits()
 {
     startScreen = null;
     creditScreen = new CreditScreen(this);
     currentScreen = Screen.CreditScreen;
 }
Пример #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
        }
Пример #5
0
 public void StartTutoScreen()
 {
     startScreen = null;
     tutoScreen = new TutoScreen(this);
     currentScreen = Screen.TutoScreen;
 }
Пример #6
0
        public void StartSelWorld()
        {
            startScreen = null;
            //endScreen = null;
            chooseLevelScreen = null;

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