Click or drag to resize

PointyHexGridTCell Constructor (Int32, Int32, FuncPointyHexPoint, Boolean, PointyHexPoint)

Construct a new grid whose cells are determined by the given test function. The function should only return true for points within the bounds of the rectangle when the given transforms are applied to them. Normally, the static factory methods or shape building methods should be used to create grids. These constructors are provided for advanced usage.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public PointyHexGrid(
	int width,
	int height,
	Func<PointyHexPoint, bool> isInside,
	PointyHexPoint offset
)

Parameters

width
Type: SystemInt32
height
Type: SystemInt32
isInside
Type: SystemFuncPointyHexPoint, Boolean
offset
Type: Gamelogic.GridsPointyHexPoint
See Also