Server.setupTeams(g);
g.setupTeams();
    public Game createGame()        throws Exception    {        System.out.println("Loading scenario from " + m_scenFile);        Properties p = loadProperties();                String sCheck = p.getProperty("MMSVersion");        if (sCheck == null) {            throw new Exception("Not a valid MMS file.  No MMSVersion.");        }                Game g = new Game();                // build the board        g.board = createBoard(p);                // build the faction players        Player[] players = createPlayers(p);        for (int x = 0; x < players.length; x++) {            g.addPlayer(x, players[x]);        }                // build the entities        int nIndex = 0;        for (int x = 0; x < players.length; x++) {            Entity[] entities = buildFactionEntities(p, players[x]);            for (int y = 0; y < entities.length; y++) {                entities[y].setOwner(players[x]);                entities[y].setId(nIndex++);                g.addEntity(entities[y].getId(), entities[y]);            }        }        // game's ready        g.getOptions().initialize();        // set wind        g.determineWind();  // Set up the teams (for initiative)        Server.setupTeams(g);        g.setPhase(Game.PHASE_STARTING_SCENARIO);                g.setupRoundDeployment();                return g;    }