- halfAY.moveTo(55, 7.5);
- halfBC.moveTo(10, 40);
- nandZ.moveTo(100, 25);
-
- new GUIWire(submodelModifiable, A, halfAY.getPinA());
- new GUIWire(submodelModifiable, B, halfBC.getPinA());// , new Point(5, 50), new Point(5, 45));
- new GUIWire(submodelModifiable, C, halfBC.getPinB());// , new Point(5, 87.5), new Point(5, 60));
- new GUIWire(submodelModifiable, halfBC.getPinY(), halfAY.getPinB());// , new Point(50, 45), new Point(50, 27.5));
- new GUIWire(submodelModifiable, halfBC.getPin_Z(), nandZ.getInputPins().get(1));
- new GUIWire(submodelModifiable, halfAY.getPinY(), Y);
- new GUIWire(submodelModifiable, halfAY.getPin_Z(), nandZ.getInputPins().get(0));
+ halfAY.moveTo(45, 7.5);
+ halfBC.moveTo(5, 40);
+ nandZ.moveTo(57.5, 40);
+
+ new GUIWire(submodelModifiable, A, halfAY.getInputPins().get(0), new Point[0]);
+ new GUIWire(submodelModifiable, B, halfBC.getInputPins().get(0));
+ new GUIWire(submodelModifiable, C, halfBC.getInputPins().get(1));
+ new GUIWire(submodelModifiable, halfBC.getOutputPins().get(0), halfAY.getInputPins().get(1));
+ new GUIWire(submodelModifiable, halfBC.getOutputPins().get(1), nandZ.getInputPins().get(1), new Point[0]);
+ new GUIWire(submodelModifiable, halfAY.getOutputPins().get(0), Y, new Point[0]);
+ new GUIWire(submodelModifiable, halfAY.getOutputPins().get(1), nandZ.getInputPins().get(0), new Point(82.5, 22.5),
+ new Point(82.5, 35), new Point(52.5, 35), new Point(52.5, 45));