Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="match"/> class.
        /// </summary>
        /// <param name="ranking">The ranking.</param>
        /// <param name="takerTeam">The taker team.</param>
        /// <param name="takerTeamDiff">The taker team difference.</param>
        /// <param name="takerRez">The taker rez.</param>
        public match(List <team> ranking, CareTakerTeams takerTeam, CareTakerTeams takerTeamDiff, CareTakerResults takerRez)
        {
            this.teams = new List <team>();
            foreach (team tim in ranking)
            {
                tim.round_points = 0;
                teams.Add(tim);
            }
            this.takerTeam     = takerTeam;
            this.takerRez      = takerRez;
            this.takerTeamDiff = takerTeamDiff;

            PrintEfListener listen = new PrintEfListener();

            h += new handler(listen.Print);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="match"/> class.
        /// </summary>
        /// <param name="ranking">The ranking.</param>
        /// <param name="takerTeam">The taker team.</param>
        /// <param name="takerTeamDiff">The taker team difference.</param>
        /// <param name="takerRez">The taker rez.</param>
        public match(List<team> ranking, CareTakerTeams takerTeam, CareTakerTeams takerTeamDiff, CareTakerResults takerRez)
        {
            this.teams = new List<team>();
            foreach (team tim in ranking)
            {
                tim.round_points = 0;
                teams.Add(tim);
            }
            this.takerTeam = takerTeam;
            this.takerRez = takerRez;
            this.takerTeamDiff = takerTeamDiff;

            PrintEfListener listen = new PrintEfListener();
            h += new handler(listen.Print);
        }