public void startGame() { resultsController.notifyResultsController("Number Matching Game"); resetAnswersForNextGame(); // Start Stat Recording List<Game> games = LessonGameManager.getAllActiveGames(); for (Game game : games) { if (game.getName().contains("Match")) start(game); } getMainFrame().changeView(NumberMatchingGameView.class); }
public void startGame() { resultsController.notifyResultsController("Arithmatic Game"); buildQuestionSet(); currentQuestionNumber = 0; refreshCurrentQuestion(); getMainFrame().changeView(ArithmaticGameView.class); getMainFrame().getView(ArithmaticGameView.class).setBackground(); // Start Stat Recording List<Game> games = LessonGameManager.getAllActiveGames(); for (Game game : games) { if (game.getName().contains("Click")) start(game); } }