Exemplo n.º 1
0
 public TournamentRootData(PoolCreator.TournamentData tournamentData)
 {
     foreach (PoolCreator.DivisionData dd in tournamentData.divisions)
     {
         AllDivisions.Add(new DivisionData(JudgeList, dd));
     }
 }
Exemplo n.º 2
0
        public NameDatabase(PoolCreator.TournamentData tournamentData)
        {
            NextNameId = 0;

            foreach (PoolCreator.RegisteredPlayer rp in tournamentData.registeredPlayers)
            {
                AllNames.Add(new NameData(rp.firstName, rp.lastName));
            }
        }