private static final double height = 15;
private static final double fontHeight = 5;
+ private final Pin outputPin;
+
private ManualSwitch logicSwitch;
private ReadEnd end;
{
super(model);
setSize(width, height);
- addPin(new Pin(this, 1, width, height / 2));
+ addPin(this.outputPin = new Pin(this, 1, width, height / 2));
}
@Override
logicSwitch.toggle();
return true;
}
+
+ public Pin getOutputPin()
+ {
+ return outputPin;
+ }
}
\ No newline at end of file