notifyPlayerInfoChange(getJudge());
notifyPlayerInfoChange(cardPlayer);
synchronized (roundTimerLock) {
final SafeTimerTask task;
// TODO win-by-x option
if (cardPlayer.getScore() >= options.scoreGoal) {
task = new SafeTimerTask() {
@Override
public void process() {
winState();
}
};
} else {
task = new SafeTimerTask() {
@Override
public void process() {
startNextRound();
}
};