Beispiel #1
0
 private void init()
 {
     sub[0] = radialAssault.GetMenu();
     sub[1] = new PolarCoordinates();
     sub[2] = new ViewportHandlerTest();
     sub[3] = new HardExitGameState();
     sub[4] = new BackMenuOption();
 }
 private void init()
 {
     sub[0] = new XMLEngineExample();
     sub[1] = new TestPlayState();
     sub[2] = new TestMapLoader();
     sub[3] = new PerformMapSerialize();
     sub[4] = new PerformMapDeserialize();
     sub[5] = new PlayTestMusic();
     sub[6] = new HardExitGameState();
     sub[7] = new BackMenuOption();
 }
Beispiel #3
0
        private void init()
        {
            MattCreditState creditsState = new MattCreditState();
            CreditsHaveCompletedEventHandler creditsCompletedEventHandler = CreditsCompletedHandler;
            creditsState.Completed += creditsCompletedEventHandler;

            //creditsState.Completed
            sub[0] = creditsState;
            sub[1] = new MattState();
            sub[2] = new BackMenuOption();
            sub[3] = new HardExitGameState();
        }
Beispiel #4
0
        private void init()
        {
            TestCreditState creditsState = new TestCreditState();
            CreditsHaveCompletedEventHandler creditsCompletedEventHandler = CreditsCompletedHandler;
            creditsState.Completed += creditsCompletedEventHandler;

            sub[0] = radialAssault.GetMenu();
            sub[1] = new PolarCoordinates();
            sub[2] = new ViewportHandlerTest();
            sub[3] = creditsState;
            sub[4] = new HardExitGameState();
            sub[5] = new BackMenuOption();
        }
Beispiel #5
0
        internal DebugMenu()
        {
            //create
            imi = new IMenuItem[5];

            //populate
            imi[0] = unsorted.GetMenu();
            imi[1] = spectrum.GetMenu();
            imi[2] = tatltael.GetMenu();
            //imi[3] = navi.GetMenu();
            imi[3] = mvmenu.GetMenu();
            imi[4] = new HardExitGameState();

            //insert into a MenuState
            Menu debugMenu = new Menu("Debugger Menu",imi);
            Master.Push(debugMenu);
        }
Beispiel #6
0
 private void init()
 {
     sub[0] = new JoeState();
     sub[1] = new BackMenuOption();
     sub[2] = new HardExitGameState();
 }
 private void init()
 {
     sub[0] = new RadialAssaultGame();
     sub[1] = new HardExitGameState();
     sub[2] = new BackMenuOption();
 }