コード例 #1
0
 public NFLCombinations(List <FootballPlayer> players, DFSConfig config)
 {
     Rand               = new Random();
     Config             = config;
     Quarterbacks       = new List <FootballPlayer>();
     RunningBacks       = new List <FootballPlayer>();
     WideReceivers      = new List <FootballPlayer>();
     TightEnds          = new List <FootballPlayer>();
     FLEX               = new List <FootballPlayer>();
     TopRunningBacks    = new List <FootballPlayer>();
     TopWideReceivers   = new List <FootballPlayer>();
     RunningBackCombos  = new List <List <FootballPlayer> >();
     WideReceiverCombos = new List <List <FootballPlayer> >();
     BuildInitialPositionLists(players);
     BuildCombinations();
 }
コード例 #2
0
 public NBACombinations(List <Player> players, DFSConfig config)
 {
     PointGuards         = new List <Player>();
     ShootingGuards      = new List <Player>();
     SmallForwards       = new List <Player>();
     PowerForwards       = new List <Player>();
     Centers             = new List <Player>();
     TopPointGuards      = new List <Player>();
     TopPowerForwards    = new List <Player>();
     TopShootingGuards   = new List <Player>();
     TopSmallForwards    = new List <Player>();
     PointGuardCombos    = new List <Tuple <Player, Player> >();
     ShootingGuardCombos = new List <Tuple <Player, Player> >();
     SmallForwardCombos  = new List <Tuple <Player, Player> >();
     PointGuardCombos    = new List <Tuple <Player, Player> >();
     BuildInitialPositionLists(players);
     BuildCombinations();
     Config = config;
     Rand   = new Random();
 }