示例#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;
        }
示例#2
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;
        }