Construct a GridHex instance by providing a hex coordinate.
The coordinates of the hex to construct
The hexagonal grid instance to which this hex belongs
The hexagonal grid to which this hex belongs.
The cube coordinate of this hex
The offset coordinate of this hex
Return a reference to the pixel point in the center of this hexagon.
Return a reference to the pixel point of the top-left corner of this hexagon.
Return whether this GridHex equals the same position as some other GridHex instance.
Some other GridHex
Are the positions equal?
A helper class which represents a single hexagon as part of a HexagonalGrid. This class relies on having an active canvas scene in order to know the configuration of the hexagonal grid.