hex-world
Preparing search index...
hexNeighbor
Function hexNeighbor
hexNeighbor
(
h
:
HexCoord
,
direction
:
number
)
:
HexCoord
Returns the neighbour of
h
in the given direction (0–5, clockwise from East).
Parameters
h
:
HexCoord
direction
:
number
Returns
HexCoord
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
hex-world
Loading...
Returns the neighbour of
hin the given direction (0–5, clockwise from East).