Beispiel #1
0
        //private int questionCount;
        //private List<QuizAnswers> userAnswers;

        public QuizPlayerController(Quiz q)
        {
            quiz = q;
            if (quiz.getQuestions().Count == 0)
            {
                setATestQuiz();
            }
            //setATestQuiz();
        }
Beispiel #2
0
 public static Question GetQuestion(int index)
 {
     return(myQuiz.getQuestions()[index]);
 }
Beispiel #3
0
 public int GetQuestionLength()
 {
     return(quiz.getQuestions().Count);
 }