예제 #1
0
        public void UpdateClock(TimeSpan delta)
        {
            ClockManager.SubTractTime(delta);
            ChessClock clock = ClockManager.GetCurrentClock();

            System.Diagnostics.Debug.WriteLine(string.Format("{0}:{1}:{2}", clock.Time.Hours, clock.Time.Minutes, clock.Time.Seconds));
        }
예제 #2
0
 public void Start()
 {
     Started            = true;
     PartialTurnTracker = new PartialTurnTracker(WhitePlayer, ClockManager.GetCurrentClock(), Board.CurrentState);
 }