Esempio n. 1
0
    public void StartRouting(HexGrid grid, HexCell startCell)
    {
        m_grid = grid;

        roads.Add(m_roadNetwork.InitRoad(m_grid.center.pos2D));

        for (int i = 0; i < processTimes && roads.Count > 0; ++i)
        {
            ProcessNode();
        }
    }