Function normalizeTargets
- normalizeTargets(...args: [targets: RoomPosition | RoomPosition[] | _HasRoomPosition | MoveTarget | MoveTarget[], keepTargetInRoom: any, flee: any]): MoveTarget[]
-
Parameters
-
Rest
...args: [targets: RoomPosition | RoomPosition[] | _HasRoomPosition | MoveTarget | MoveTarget[], keepTargetInRoom: any, flee: any]
Takes a target or list of targets in a few different possible formats and normalizes to a list of MoveTarget[]