Function normalizeTargets

  • Takes a target or list of targets in a few different possible formats and normalizes to a list of MoveTarget[]

    Parameters

    • Rest ...args: [targets: RoomPosition | RoomPosition[] | _HasRoomPosition | MoveTarget | MoveTarget[], keepTargetInRoom: any, flee: any]

    Returns MoveTarget[]

Generated using TypeDoc