public void CorrectAnswer(int answerIndex) { // Show answer _view.ShowAnswer(answerIndex, CurrentQuestion.GetAnswerWordIndeces(answerIndex), true); CurrentTeam.Time += CurrentQuestion.Answers[answerIndex].TimeReward; if (++_currentCorrectAnswersCount == CurrentQuestion.Answers.Length) { CurrentTeam.Time = Mathf.CeilToInt(CurrentTeam.Time); EndQuestion(); } }
public void ShowAnswer(int answerIndex) { // Show answer _view.ShowAnswer(answerIndex, CurrentQuestion.GetAnswerWordIndeces(answerIndex), false); }