public Question generate() { //Record previous question scoreTheQuestion(); question = QuestionFactory.generate(); questionTxt.text = question.question; answerTxt.text = question.answer.ToString(); rightAnswer = (int)question.answer; clear(); stopWatch = new Stopwatch(); stopWatch.Start(); return(question); }