AlgorithmsAStarTCell, TPoint Method (IGridTCell, TPoint, TPoint, TPoint, FuncTPoint, TPoint, Single, FuncTCell, Boolean, FuncTPoint, TPoint, Single) |
Namespace: Gamelogic.Grids
public static IEnumerable<TPoint> AStar<TCell, TPoint>( IGrid<TCell, TPoint> grid, TPoint start, TPoint goal, Func<TPoint, TPoint, float> heuristicCostEstimate, Func<TCell, bool> isAccessible, Func<TPoint, TPoint, float> neighborToNeighborCost ) where TPoint : Object, IGridPoint<TPoint>