• Creep.moveTo with smart push

    Parameters

    • c: Creep

      target creep

    • target: SomeRoomPosition

      destination

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

      get a persistant array of data for a given creep. c => c.memory._m ?? []

        • (c): [] | GoToMemory
        • Parameters

          • c: Creep

          Returns [] | GoToMemory

    • roomMatrixCache: {} = {}

      cache for room matrices

      • opts: GoToOpts = {}

        movement parameters

      Returns ScreepsReturnCode | IN_RANGE

      status code

    Generated using TypeDoc