Click or drag to resize

AlgorithmsGetConnectedLinesTCell, TPoint, TBasePoint Method

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IEnumerable<IEnumerable<TPoint>> GetConnectedLines<TCell, TPoint, TBasePoint>(
	IEvenGrid<TCell, TPoint, TBasePoint> grid,
	TPoint point,
	Func<TPoint, TPoint, bool> isNeighborsConnected
)
where TPoint : Object, ISplicedVectorPoint<TPoint, TBasePoint>, IGridPoint<TPoint>
where TBasePoint : Object, IVectorPoint<TBasePoint>, IGridPoint<TBasePoint>

Parameters

grid
Type: Gamelogic.GridsIEvenGridTCell, TPoint, TBasePoint
point
Type: TPoint
isNeighborsConnected
Type: SystemFuncTPoint, TPoint, Boolean

Type Parameters

TCell
The type of cell of the grid that this algorithm takes.
TPoint
The type of point of the grid that this algorithm takes.
TBasePoint
The base type of the point.

Return Value

Type: IEnumerableIEnumerableTPoint
See Also