SelectCohorts() public method

Selects which of a species' cohorts are harvested.
public SelectCohorts ( ISpeciesCohorts cohorts, ISpeciesCohortBoolArray isHarvested ) : void
cohorts ISpeciesCohorts
isHarvested ISpeciesCohortBoolArray
return void
        //---------------------------------------------------------------------

        private void SelectCohorts(ISpeciesCohorts            cohorts,
                                   SpecificAgesCohortSelector selector)
        {
            isHarvested.SetAllFalse(cohorts.Count);
            selector.SelectCohorts(cohorts, isHarvested);
        }