private void startGame(OnlineGameTable table) {
GameContext.log(0, "Now starting game on Server! "+ table);
// Create players from the table and start.
PlayerList players = table.getPlayers();
assert (players.size() == table.getNumPlayersNeeded());
PlayerList newPlayers = new PlayerList();
for (Player player : players) {
if (player.isHuman()) {
newPlayers.add(player.createSurrogate(controller_.getServerConnection()));
} else {
newPlayers.add(player);
}
}
controller_.reset();
controller_.setPlayers(newPlayers);