コード例 #1
0
    void OpenStartNode()
    {
        AStarEightDirectionsHeapNode startNode = GetNode(_startPosition);

        startNode.Open(_endPosition);

        _openedList.Set(startNode);
    }
コード例 #2
0
    void DoOpenNode(AStarEightDirectionsHeapNode currentNode, AStarEightDirectionsHeapNode openNode)
    {
        openNode.Open(currentNode, _endPosition);

        _openedList.Set(openNode);
    }