Function lookForStructureInRange
- lookForStructureInRange<T>(center, type, range?): Generator<ConcreteStructureMap[T], void, unknown>
-
Type Parameters
-
T extends keyof ConcreteStructureMap
Parameters
-
center: RoomPosition
-
type: T
-
range: number = 1
Returns Generator<ConcreteStructureMap[T], void, unknown>
Run Room.lookForAt LOOK_STRUCTURES on a given range bounded to room borders