Пример #1
0
        //called when the user presses the "start test" button
        private void handleStartPhase()
        {
            //generates the next menu
            CurrentType = completion.getNextType();
            CurrentMenu = factory.getNextMenu(CurrentType);
            CurrentMenu.MenuFinished += handleMenuFinished;

            Instructions.setInstructions(CurrentMenu.WantedControls);
            Instructions.launchInstructions();
            CurrentState = StudyState.TEST;
            CurrentMenu.startMenu();
        }