Sacred Ground implemented. Re-ordered logic in GameImpl to handle simultaneous events before removing top of the stack.

This commit is contained in:
Dustin Conrad 2014-08-15 22:24:06 -04:00
parent 50dadfb03c
commit 893e83ef7c
5 changed files with 264 additions and 1 deletions

View file

@ -1113,13 +1113,13 @@ public abstract class GameImpl implements Game, Serializable {
top.resolve(this);
} finally {
if (top != null) {
state.getStack().remove(top);
if (!getTurn().isEndTurnRequested()) {
while (state.hasSimultaneousEvents()) {
state.handleSimultaneousEvent(this);
checkTriggered();
}
}
state.getStack().remove(top);
}
}
}