UNPKG
@caveworld/honeycomb-grid
Version:
latest (4.0.0-alpha-5fb3fd1)
4.0.0-alpha-9bbafa2
4.0.0-alpha-5fb3fd1
Create hexagon grids easily
abbekeultjes.nl/honeycomb
flauwekeul/honeycomb
@caveworld/honeycomb-grid
/
dist
/
grid
/
traversers
/
move.d.ts
5 lines
(4 loc)
•
215 B
TypeScript
View Raw
1
2
3
4
5
import
{
CompassDirection
}
from
'../../compass'
;
import
{
Hex
}
from
'../../hex'
;
import
{
Traverser
}
from
'../types'
;
export
declare
const
move
: <T
extends
Hex
>
(
direction
:
CompassDirection
) =>
Traverser
<T, T[]>;