Interface NavigatorParams<T>

Type Parameters

  • T

Hierarchy

  • NavigatorParams

Properties

Properties

init: {
    VISITED: T;
    charDir: Direction;
    cur: [number, number];
}

Type declaration

  • VISITED: T
  • charDir: Direction
  • cur: [number, number]
matrix: T[][]
onMove: ((cur) => void)

Type declaration

    • (cur): void
    • Parameters

      • cur: [number, number]

      Returns void

turning: Turning

Generated using TypeDoc