protected void phaseLoop() {
Phase phase = game.getPhase(); //new phase can differ from the phase in prev msg.call !!!
while (phase != null && !phase.isEntered()) {
logger.debug("Entering phase {}", phase.getClass().getSimpleName());
phase.setEntered(true);
phase.enter();
phase = game.getPhase();
game.flushEventQueue();
//game.post(new PhaseEnterEvent(phase));
}
game.flushEventQueue();