 | AlgorithmsAStar2TCell, TPoint Method |
Namespace:
Gamelogic.Grids
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax[ExperimentalAttribute]
public static IEnumerable<TPoint> AStar2<TCell, TPoint>(
IGrid<TCell, TPoint> grid,
TPoint start,
TPoint goal,
Func<TPoint, TPoint, float> heuristicCostEstimate,
Func<TPoint, bool> isAccessible,
Func<TPoint, TPoint, float> neighborToNeighborCost
)
where TPoint : Object, IGridPoint<TPoint>
Parameters
- grid
- Type: Gamelogic.GridsIGridTCell, TPoint
- start
- Type: TPoint
- goal
- Type: TPoint
- heuristicCostEstimate
- Type: SystemFuncTPoint, TPoint, Single
- isAccessible
- Type: SystemFuncTPoint, Boolean
- neighborToNeighborCost
- Type: SystemFuncTPoint, TPoint, Single
Type Parameters
- TCell
- TPoint
Return Value
Type:
IEnumerableTPoint
See Also