public void BeginTimer() { AnnounceDeathMatch(); m_ScoreTable = new Hashtable(); m_MatchTimer = new MatchTimer(this, m_MatchMin); m_MatchTimer.Start(); }
protected virtual void OnMatchStarted() { // Initialize the Game itself game = new Game(pitch, homeTeamData.Team, awayTeamData.Team, matchStanding.TimeElapsed); // When the match starts // Start the timer as well matchTimer.Start(); MatchStarted?.Invoke(this, EventArgs.Empty); }
public void BeginTimer() { m_MatchTimer = new MatchTimer(this, m_MatchMin); m_MatchTimer.Start(); }