- 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));
- new GUIWire(submodelModifiable, nandZ.getOutputPin(), Z);
+ new GUIWire(submodelModifiable, A, halfAY.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, B, halfBC.getPin("A"));
+ new GUIWire(submodelModifiable, C, halfBC.getPin("B"));
+ new GUIWire(submodelModifiable, halfBC.getPin("Y"), halfAY.getPin("B"));
+ new GUIWire(submodelModifiable, halfBC.getPin("_Z"), nandZ.getPin("B"), new Point[0]);
+ new GUIWire(submodelModifiable, halfAY.getPin("Y"), Y, new Point[0]);
+ new GUIWire(submodelModifiable, halfAY.getPin("_Z"), nandZ.getPin("A"), new Point(82.5, 22.5), new Point(82.5, 35),
+ new Point(52.5, 35), new Point(52.5, 45));
+ new GUIWire(submodelModifiable, nandZ.getPin("Y"), Z);