private void determineTurnOrderIUI(IGame.Phase phase) {
for (Enumeration<Entity> loop = game.getEntities(); loop.hasMoreElements();) {
final Entity entity = loop.nextElement();
entity.resetOtherTurns();
if (entity.isSelectableThisTurn()) {
entity.incrementOtherTurns();
}
}
// Now, generate the global order of all teams' turns.
TurnVectors team_order = TurnOrdered.generateTurnOrder(game.getEntitiesVector(), game);