Пример #1
0
 public void Pass(Turnstile t)
 {
     t.Alarm();
 }
Пример #2
0
 public void Coin(Turnstile t)
 {
     t.SetUnlocked();
     t.Unlock();
 }
 public void Pass(Turnstile t)
 {
     t.SetLocked();
     t.Lock();
 }
Пример #4
0
 public static void SetUp()
 {
     controllerSpoof = new TurnstileControllerSpoof();
     turnstile       = new Turnstile(controllerSpoof);
 }
 public void Coin(Turnstile t)
 {
     t.Thankyou();
 }