// TODO here or in PointProvider? protected void dealPoints(final Correctness correctness, final Player player) { switch (correctness) { case correct: player.setPoints(player.getPoints() + 1); break; case incorrect: player.setPoints(player.getPoints() - 1); break; case toolate: break; case unclear: player.getBuzzer().disable(true); break; case tooearly: player.setPoints(player.getPoints() - 1); break; default: break; } }
/** restarts the Game with the same settings */ public void restart() { loadGames(); for (final Player player : mPlayers) { player.setPoints(0); } mGameCycle.start(); }