예제 #1
0
파일: AI.cs 프로젝트: rivadunga/SpaceFall
    IEnumerator getPath()
    {
        GraphPath graph = new GraphPath(nodeValues, nodeEdges, decisionLevels);

        path = bfsOrDfs ? graph.getRouteBFS() : graph.getRouteDFS();
        yield return null;
    }