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() { 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(); }