public void StartTimekeeper() { whiteTimekeeper = new Timekeeper(!hasClock ? timerDuration > 0 ? timerDuration : (float?)null : (float?)null); blackTimekeeper = new Timekeeper(!hasClock ? timerDuration > 0 ? timerDuration : (float?)null : (float?)null); whiteTimekeeper.onTimerElapsed += () => Flagfall(Team.White); blackTimekeeper.onTimerElapsed += () => Flagfall(Team.Black); RecalculateTimekeepers(); Team currentTurn = GetCurrentTurn(); Timekeeper toPlay = GetCurrentTurn() == Team.White ? whiteTimekeeper : blackTimekeeper; toPlay.Play(); }