Coordinates
The Coordinates interface is a generic contract for types which extend or implement Coordinates themselves. It provides constant directions for two hexagonal coordinate systems, Flat-top and Pointy-top.
The Flat object has six directions, starting from 'right-bottom' and moving counter-clockwise. The Pointy object also has six directions, starting from 'right' and moving counter-clockwise.
Parameters
T
This represents the type of the Coordinates, which is a subtype of Coordinates itself.
Inheritors
Properties
Link copied to clipboard
Expects a property of HexCoordinates type, which should be provided by instances of this interface.