Ejemplo n.º 1
0
 /**
  * Class' constructor.
  *
  * @param aTourney model.Tourney that contains the information needed to build this up.
  */
 public Fixture(Tourney aTourney) {
   this.tourney = aTourney;
   this.rounds = new ArrayList<Round>();
   this.amountOfRounds = UtilFixtureBuilder.calculateAmountOfRounds(this.tourney);
   this.halfTourney = amountOfRounds / 2;
   this.buildRounds();
 }