Function getGoToPath

  • Read goTo cached path from creep memory

    Parameters

    • c: Creep

      target creep

    • to: RoomPosition

      destination to check

    • getMemory: ((c) => [] | GoToMemory)

      same as goTo

        • (c): [] | GoToMemory
        • Parameters

          • c: Creep

          Returns [] | GoToMemory

    • Optional limit: number

      max positions to deserialize

    Returns RoomPosition[]

    a cached path

Generated using TypeDoc