Package-level declarations
This package provides classes to represent doubled coordinates in a hexagonal grid layout. The classes included in this package are:
DoubleWidthCoordinates: Represents a pointy top hex layout, where the column step size is doubled, increasing the column by 2 for each hex.
DoubleHeightCoordinates: Represents a flat top hex layout, where the row step size is doubled, increasing the row by 2 for each hex.
Both classes enforce the constraint (col + row) % 2 == 0
.
Types
Represents a double height coordinate in the hexagonal grid layout, which doubles the row step size. Use in a flat top hex layout, the row is increased by 2 for each hex.
Represents a double width coordinate in the hexagonal grid layout, which doubles the column step size. Use in a pointy top hex layout, the column is increased by 2 for each hex.