@2d-game-grid/square
Version:
A simple square grid made for games
20 lines (19 loc) • 504 B
text/typescript
export type {
StraightDirection,
DiagonalDirection,
Direction,
Coordinate,
NeighborCoordinate,
} from '@2d-game-grid/core'
export {
STRAIGHT_DIRECTIONS,
DIAGONAL_DIRECTIONS,
ALL_DIRECTIONS,
} from '@2d-game-grid/core'
export type * from './algorithms/index.js'
export type * from './SquareCell.js'
export type * from './SquareCorners.js'
export * from './SquareDirections.js'
export type * from './SquareEdges.js'
export * from './SquareGrid.js'
export type * from './SquareNeighbors.js'