Function findGoToPath

  • Compute path with goTo options.

    Parameters

    • from: RoomPosition

      initial position

    • to: RoomPosition

      target position

    • opts: FindGoToPathOpts & {
          efficiency: number;
      }

      parameters

    • roomMatrixCache: {} = {}

      cache for room matrices

      Returns PathFinderPath | {
          path: RoomPosition[];
      }

      a path to the target

    Generated using TypeDoc