@tamb/gamegrid
    Preparing search index...

    Type Alias Direction

    Direction: "up" | "down" | "left" | "right"

    One step on the grid. Diagonals are not a step.

    import type { Direction } from "@tamb/gamegrid/npc";

    const steps: Direction[] = ["up", "down", "left", "right"];