/** * Sets the desired difficulty. * * @param difficulty Integer; 1-10 */ public void changeDifficulty(int difficulty) { student.setDifficulty(difficulty); this.questionsController = new QuestionsController(10, student.getDifficulty(), student.getOperationType()); }