public RoundSerializable(Round round) { this.RoundTime = XmlConvert.ToString(round.RoundTime); this.RestTime = XmlConvert.ToString(round.RestTime); }
public void StopCurrentRound() { _timer.Stop(); ResetRoundTime(); _round = null; }
public RoundEndedEventArgs(Round lastRound) { LastRound = lastRound; }
public void StartRound(Round round) { if (round == null) throw new ArgumentNullException("round"); _round = round; InvokePropertyChanged("RestTimeLeft"); InvokePropertyChanged("RoundTimeLeft"); _timer.Start(); }