Exemplo n.º 1
0
        public EventRound GetNextRound()
        {
            //Just for testing, handling rounds needs further consideration
            EventRound round = new EventRound("Next round");

            foreach (EventResult c in _results.Reverse())
            {
                round.AddJump(new Jump(c.Competitor));
            }
            _rounds.Add(round);
            return(_rounds.Last());
        }
Exemplo n.º 2
0
        public EventRound GetFirstRound()
        {
            //Just for testing, handling rounds needs further consideration
            EventRound round = new EventRound("First round");

            foreach (EventCompetitor c in _competitors)
            {
                round.AddJump(new Jump(c));
            }
            _rounds.Add(round);
            return(_rounds.First());
        }