Function lookForStructureAt

  • Run RoomPosition.lookFor LOOK_STRUCTURES on a given pos

    Type Parameters

    • T extends keyof ConcreteStructureMap

    Parameters

    • pos: RoomPosition

      Target position

    • type: T

      STRUCTURE_* constant

    Returns Generator<ConcreteStructureMap[T], void, unknown>

    Yields

    Iterator of structures

Generated using TypeDoc