Ejemplo n.º 1
0
 void UpdateQuiz()
 {
     if (currentQuestionIndex < maxQuestions)
     {
         accordion.MoveTo(pickedLayers[currentQuestionIndex].Key, nextQuestionDelay);
     }
     else
     {
         this.state = QuizState.RESULT;
         accordion.MoveToStart(nextQuestionDelay);
     }
 }