Esempio n. 1
0
        public MenuEngine(CoreEngine g)
        {
            coreEngine = g;
            MenuScreen.loadButtonTextures(g);

            titleMenu = new TitleScreen(this, g);
            mainMenu = new MainMenuScreen(this, g);
            singlePlayerMenu = new SinglePlayerScreen(this, g);

            botNumberMenu = new BotNumberMenuScreen(this, g);
            splitScreenMenu = new SplitScreen(this, g);
            pauseMenu = new PauseMenu(this, g);
            loadScreen = new LoadScreen(this, g);
            pauseMenu = new PauseMenu(this, g);

            /*
            optionsMenu = new OptionsMenuScreen(this, g);
             */

            currentMenu = titleMenu;
        }
Esempio n. 2
0
 public void Update(GameTime gameTime)
 {
     currentMenu = currentMenu.Update(gameTime);
 }
Esempio n. 3
0
 public void Update(GameTime gameTime)
 {
     currentMenu = currentMenu.Update(gameTime);
 }