AlgorithmsGetPointsInRangeTCell, TPoint Method (IGridTCell, TPoint, TPoint, FuncTCell, Boolean, FuncTPoint, TPoint, Int32, Int32) |
Namespace: Gamelogic.Grids
public static IEnumerable<TPoint> GetPointsInRange<TCell, TPoint>( IGrid<TCell, TPoint> grid, TPoint start, Func<TCell, bool> isAcessible, Func<TPoint, TPoint, int> getCellMoveCost, int moveRange ) where TPoint : Object, IGridPoint<TPoint>