Beispiel #1
0
 /// <summary>
 /// Pause the current match
 /// </summary>
 public void Pause()
 {
     if (Duration.SessionInProgress)
     {
         Duration.End();
         currentSet().Pause();
     }
 }
Beispiel #2
0
        /// <summary>
        /// Stop the this match
        /// </summary>
        public void End(MatchStatus newStatus)
        {
            Status = newStatus;
            Duration.End();

            TennisSet _set = currentSet();

            if (_set != null)
            {
                _set.End(Winner);
            }
        }