Click or drag to resize

AlgorithmsGetPointsInRangeTCell, TPoint Method (IGridTCell, TPoint, TPoint, FuncTCell, Boolean, FuncTPoint, TPoint, Int32, Int32)

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
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>

Parameters

grid
Type: Gamelogic.GridsIGridTCell, TPoint
start
Type: TPoint
isAcessible
Type: SystemFuncTCell, Boolean
getCellMoveCost
Type: SystemFuncTPoint, TPoint, Int32
moveRange
Type: SystemInt32

Type Parameters

TCell
TPoint

Return Value

Type: IEnumerableTPoint
See Also