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; } }
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; } }