예제 #1
0
        public void Start()
        {
            pairingSession.intervals.Clear();

            pairingSession.StartNewInterval(Programmer.Neither);
            pairingSession.CurrentState = new RunningPairingSession(pairingSession);
        }
예제 #2
0
        public void SwitchController(Programmer programmer)
        {
            if (programmer == pairingSession.CurrentInterval.Programmer)
            {
                return;
            }

            pairingSession.StopCurrentInterval();
            pairingSession.StartNewInterval(programmer);
        }