notifyRoundEnd();
}
private void pumpAction() {
// TODO use semaphore instead of synchronized
Action act;
if (actions.size() > 0) {
act = actions.get(0);
notifyActionPlayed(act);
if (validateAction(act)) {
act.executeAction();
notifyActionExecuted(act);
} else
notifyActionFailed(act);
actions.remove(act);
}