import { Direction } from "./direction.js" ; export type EdgeType = 0 | 1 | 2 | 3 | 4 ; export const NONE = 0 ; export const RAIL = 1 ; export const ROAD = 2 ; export const LAKE = 3 ; export const FOREST = 4 ; export interface Edge { type : EdgeType ; connects : Direction [ ] ; }