player.setGame(this);
    public void setPlayer(int id, Player player) {        final Player oldPlayer = getPlayer(id);        players.setElementAt(player, players.indexOf(oldPlayer));        playerIds.put(new Integer(id), player);    }