Esempio n. 1
0
        public static void StartTest(IEnumerable <Question> questions)
        {
            if (IsTestFinished)
            {
                if (QuestionPath == null)
                {
                    QuestionPath = QuestionPath.Create(questions);
                }
                else
                {
                    QuestionPath.Reset();
                }
                Renderer.PostScreen.Release();
                Renderer.Test.Render(QuestionPath.CurrentQuestion);

                IsTestFinished = false;
            }
        }
Esempio n. 2
0
        public static void StartTest(QuestionPath questionPath)
        {
            if (IsTestFinished)
            {
                if (QuestionPath == null)
                {
                    QuestionPath = questionPath;
                }
                else
                {
                    QuestionPath.Reset();
                }
                Renderer.PostScreen.Release();
                Renderer.Test.Render(QuestionPath.CurrentQuestion);

                IsTestFinished = false;
            }
        }