Table of Contents

Method PointyHexRectangle

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

PointyHexRectangle(GridPoint2)

Creates a rectangle shape suitable for a pointy hex grid.

[Version(2, 3, 8)]
public static IImplicitShape<GridPoint2> PointyHexRectangle(GridPoint2 dimensions)

Parameters

dimensions GridPoint2

The width and height of the rectangle.

Returns

IImplicitShape<GridPoint2>

Remarks

Each row has the same number of cells.