示例#1
0
    AStarObject findLowestF()
    {
        AStarObject lowest = openList[0];

        foreach (AStarObject ao in openList)
        {
            if (lowest.greaterFThan(ao))
            {
                lowest = ao;
            }
        }
        return(lowest);
    }