Пример #1
0
 // TODO: Go nuts, make the signal events wire based
 public SteckerbrettM3(Wheel wheel0, Wheel wheel1, Wheel wheel2, Reflector reflector)
 {
     _wheel0 = wheel0;
     _wheel1 = wheel1;
     _wheel2 = wheel2;
     _reflector = reflector;
     HookupWheel0();
     HookupWheel1();
     HookupWheel2();
     HookUpReflector();
 }
Пример #2
0
 private void WheelTripEvent(bool up, Wheel wheel)
 {
     if (up) wheel.Up();
     else wheel.Down();
 }