public void recruitPlayersFreshman(int qbNeeds,int rbNeeds,int wrNeeds,int kNeeds,int olNeeds,int sNeeds,int cbNeeds,int f7Needs){
  int stars=teamPrestige / 20 + 1;
  int chance=20 - (teamPrestige - 20 * (teamPrestige / 20));
  double starsBonusChance=0.15;
  double starsBonusDoubleChance=0.05;
  for (int i=0; i < qbNeeds; ++i) {
    stars=teamPrestige / 20 + 1;
    if (100 * Math.random() < 5 * chance)     stars=stars - 1;
    if (Math.random() < starsBonusChance)     stars=stars + 1;
 else     if (Math.random() < starsBonusDoubleChance)     stars=stars + 2;
    if (stars > 5)     stars=5;
    teamQBs.add(new PlayerQB(league.getRandName(),1,stars,this));
  }
  for (int i=0; i < kNeeds; ++i) {
    stars=teamPrestige / 20 + 1;
    if (100 * Math.random() < 5 * chance)     stars=stars - 1;
    if (Math.random() < starsBonusChance)     stars=stars + 1;
 else     if (Math.random() < starsBonusDoubleChance)     stars=stars + 2;
    if (stars > 5)     stars=5;
    teamKs.add(new PlayerK(league.getRandName(),1,stars,this));
  }
  for (int i=0; i < rbNeeds; ++i) {
    stars=teamPrestige / 20 + 1;
    if (100 * Math.random() < 5 * chance)     stars=stars - 1;
    if (Math.random() < starsBonusChance)     stars=stars + 1;
 else     if (Math.random() < starsBonusDoubleChance)     stars=stars + 2;
    if (stars > 5)     stars=5;
    teamRBs.add(new PlayerRB(league.getRandName(),1,stars,this));
  }
  for (int i=0; i < wrNeeds; ++i) {
    stars=teamPrestige / 20 + 1;
    if (100 * Math.random() < 5 * chance)     stars=stars - 1;
    if (Math.random() < starsBonusChance)     stars=stars + 1;
 else     if (Math.random() < starsBonusDoubleChance)     stars=stars + 2;
    if (stars > 5)     stars=5;
    teamWRs.add(new PlayerWR(league.getRandName(),1,stars,this));
  }
  for (int i=0; i < olNeeds; ++i) {
    stars=teamPrestige / 20 + 1;
    if (100 * Math.random() < 5 * chance)     stars=stars - 1;
    if (Math.random() < starsBonusChance)     stars=stars + 1;
 else     if (Math.random() < starsBonusDoubleChance)     stars=stars + 2;
    if (stars > 5)     stars=5;
    teamOLs.add(new PlayerOL(league.getRandName(),1,stars,this));
  }
  for (int i=0; i < cbNeeds; ++i) {
    stars=teamPrestige / 20 + 1;
    if (100 * Math.random() < 5 * chance)     stars=stars - 1;
    if (Math.random() < starsBonusChance)     stars=stars + 1;
 else     if (Math.random() < starsBonusDoubleChance)     stars=stars + 2;
    if (stars > 5)     stars=5;
    teamCBs.add(new PlayerCB(league.getRandName(),1,stars,this));
  }
  for (int i=0; i < f7Needs; ++i) {
    stars=teamPrestige / 20 + 1;
    if (100 * Math.random() < 5 * chance)     stars=stars - 1;
    if (Math.random() < starsBonusChance)     stars=stars + 1;
 else     if (Math.random() < starsBonusDoubleChance)     stars=stars + 2;
    if (stars > 5)     stars=5;
    teamF7s.add(new PlayerF7(league.getRandName(),1,stars,this));
  }
  for (int i=0; i < sNeeds; ++i) {
    stars=teamPrestige / 20 + 1;
    if (100 * Math.random() < 5 * chance)     stars=stars - 1;
    if (Math.random() < starsBonusChance)     stars=stars + 1;
 else     if (Math.random() < starsBonusDoubleChance)     stars=stars + 2;
    if (stars > 5)     stars=5;
    teamSs.add(new PlayerS(league.getRandName(),1,stars,this));
  }
  sortPlayers();
}

public void recruitPlayersFreshman ( int qbNeeds , int rbNeeds , int wrNeeds , int kNeeds , int olNeeds , int sNeeds , int cbNeeds , int f7Needs ) { int stars = teamPrestige / 20 + 1 ; int chance = 20 - ( teamPrestige - 20 * ( teamPrestige / 20 ) ) ; double starsBonusChance = 0.15 ; double starsBonusDoubleChance = 0.05 ; for ( int i = 0 ; i < qbNeeds ; ++ i ) { stars = teamPrestige / 20 + 1 ; if ( 100 * Math . random ( ) < 5 * chance ) stars = stars - 1 ; if ( Math . random ( ) < starsBonusChance ) stars = stars + 1 ; else if ( Math . random ( ) < starsBonusDoubleChance ) stars = stars + 2 ; if ( stars > 5 ) stars = 5 ; teamQBs . add ( new PlayerQB ( league . getRandName ( ) , 1 , stars , this ) ) ; } for ( int i = 0 ; i < kNeeds ; ++ i ) { stars = teamPrestige / 20 + 1 ; if ( 100 * Math . random ( ) < 5 * chance ) stars = stars - 1 ; if ( Math . random ( ) < starsBonusChance ) stars = stars + 1 ; else if ( Math . random ( ) < starsBonusDoubleChance ) stars = stars + 2 ; if ( stars > 5 ) stars = 5 ; teamKs . add ( new PlayerK ( league . getRandName ( ) , 1 , stars , this ) ) ; } for ( int i = 0 ; i < rbNeeds ; ++ i ) { stars = teamPrestige / 20 + 1 ; if ( 100 * Math . random ( ) < 5 * chance ) stars = stars - 1 ; if ( Math . random ( ) < starsBonusChance ) stars = stars + 1 ; else if ( Math . random ( ) < starsBonusDoubleChance ) stars = stars + 2 ; if ( stars > 5 ) stars = 5 ; teamRBs . add ( new PlayerRB ( league . getRandName ( ) , 1 , stars , this ) ) ; } for ( int i = 0 ; i < wrNeeds ; ++ i ) { stars = teamPrestige / 20 + 1 ; if ( 100 * Math . random ( ) < 5 * chance ) stars = stars - 1 ; if ( Math . random ( ) < starsBonusChance ) stars = stars + 1 ; else if ( Math . random ( ) < starsBonusDoubleChance ) stars = stars + 2 ; if ( stars > 5 ) stars = 5 ; teamWRs . add ( new PlayerWR ( league . getRandName ( ) , 1 , stars , this ) ) ; } for ( int i = 0 ; i < olNeeds ; ++ i ) { stars = teamPrestige / 20 + 1 ; if ( 100 * Math . random ( ) < 5 * chance ) stars = stars - 1 ; if ( Math . random ( ) < starsBonusChance ) stars = stars + 1 ; else if ( Math . random ( ) < starsBonusDoubleChance ) stars = stars + 2 ; if ( stars > 5 ) stars = 5 ; teamOLs . add ( new PlayerOL ( league . getRandName ( ) , 1 , stars , this ) ) ; } for ( int i = 0 ; i < cbNeeds ; ++ i ) { stars = teamPrestige / 20 + 1 ; if ( 100 * Math . random ( ) < 5 * chance ) stars = stars - 1 ; if ( Math . random ( ) < starsBonusChance ) stars = stars + 1 ; else if ( Math . random ( ) < starsBonusDoubleChance ) stars = stars + 2 ; if ( stars > 5 ) stars = 5 ; teamCBs . add ( new PlayerCB ( league . getRandName ( ) , 1 , stars , this ) ) ; } for ( int i = 0 ; i < f7Needs ; ++ i ) { stars = teamPrestige / 20 + 1 ; if ( 100 * Math . random ( ) < 5 * chance ) stars = stars - 1 ; if ( Math . random ( ) < starsBonusChance ) stars = stars + 1 ; else if ( Math . random ( ) < starsBonusDoubleChance ) stars = stars + 2 ; if ( stars > 5 ) stars = 5 ; teamF7s . add ( new PlayerF7 ( league . getRandName ( ) , 1 , stars , this ) ) ; } for ( int i = 0 ; i < sNeeds ; ++ i ) { stars = teamPrestige / 20 + 1 ; if ( 100 * Math . random ( ) < 5 * chance ) stars = stars - 1 ; if ( Math . random ( ) < starsBonusChance ) stars = stars + 1 ; else if ( Math . random ( ) < starsBonusDoubleChance ) stars = stars + 2 ; if ( stars > 5 ) stars = 5 ; teamSs . add ( new PlayerS ( league . getRandName ( ) , 1 , stars , this ) ) ; } sortPlayers ( ) ; }
recruit freshman at each position . this is used after each season .
