/// <summary> /// Sets a bout between two teams /// </summary> /// <param name="team1">the first team</param> /// <param name="team2">the second team</param> public Match(Teams team1, ref Match refmatch1, bool winners) { refWinners = winners; m_Team1 = team1; m_refMatch1 = refmatch1; }
/// <summary> /// Sets a bout between two teams /// </summary> /// <param name="team1">the first team</param> /// <param name="team2">the second team</param> public Match(ref Match refmatch1, ref Match refmatch2, bool winners) { refWinners = winners; m_refMatch1 = refmatch1; m_refMatch2 = refmatch2; }
public MatchTimer(TournamentTimer tournament, ArenaControl arena, Match bout) : base(TimeSpan.FromSeconds(1.0), TimeSpan.FromSeconds(1.0)) { Priority = TimerPriority.OneSecond; t = tournament; b = bout; a = arena; a.Occupied = true; countdown = 6; started = false; cfinished = false; staging = TimeSpan.FromSeconds(30.0); announcer = getAnn(); BeginStage(); }