public bool AnswerQuestion(int index) { string[] answers = MyTrivia.getDistractors(); correctAns = MyTrivia.getAnswer(); MyPlayer.setGold(MyPlayer.getGold() - 1); return(MyTrivia.isAnswerCorrect(answers[index])); }