Table of Contents

Class ExplicitShape.Hex

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Class with methods for hex grid shapes.

public static class ExplicitShape.Hex
Inheritance
ExplicitShape.Hex
Inherited Members

Methods

DownTriangle(Vector2, float)

Returns a new down triangle suitable for a pointy hex grid.

FlatFatRectangle(GridPoint2)

Returns a new fat rectangle suitable for a flat hex grid.

FlatRectangle(GridPoint2)

Returns a new rectangle suitable for a flat hex grid.

FlatThinRectangle(GridPoint2)

Returns a new thin rectangle suitable for a flat hex grid.

Hexagon(int)

Returns a new hexagon shape.

Hexagon(Vector2, float)

Returns a new hexagon shape.

PointyFatRectangle(GridPoint2)

Returns a new fat rectangle suitable for a pointy hex grid.

PointyRectangle(GridPoint2)

Returns a new rectangle suitable for a pointy hex grid.

PointyThinRectangle(GridPoint2)

Returns a new thin rectangle suitable for a pointy hex grid.

Star(Vector2, float)

Returns a new star shape.

UpTriangle(Vector2, float)

Returns a new up triangle suitable for a pointy hex grid.