- and1.moveTo(70, 20);
- and2.moveTo(70, 70);
- and3.moveTo(70, 120);
- and4.moveTo(70, 170);
- cpB2.moveTo(60, 90);
- cpB3.moveTo(60, 140);
- cpB4.moveTo(60, 190);
-
- new GUIWire(submodelModifiable, A1, and1.getPinA());
- new GUIWire(submodelModifiable, A2, and2.getPinA());
- new GUIWire(submodelModifiable, A3, and3.getPinA());
- new GUIWire(submodelModifiable, A4, and4.getPinA());
- new GUIWire(submodelModifiable, B, cpB4.getPin(), new Point(60, 250));
- new GUIWire(submodelModifiable, cpB4.getPin(), and4.getPinB());
- new GUIWire(submodelModifiable, cpB4.getPin(), cpB3.getPin());
- new GUIWire(submodelModifiable, cpB3.getPin(), and3.getPinB());
- new GUIWire(submodelModifiable, cpB3.getPin(), cpB2.getPin());
- new GUIWire(submodelModifiable, cpB2.getPin(), and2.getPinB());
- new GUIWire(submodelModifiable, cpB2.getPin(), and1.getPinB(), new Point(60, 40));
- new GUIWire(submodelModifiable, and1.getPinY(), Y1, new Point(150, 32.5), new Point(150, 25));
- new GUIWire(submodelModifiable, and2.getPinY(), Y2, new Point(150, 82.5), new Point(150, 75));
- new GUIWire(submodelModifiable, and3.getPinY(), Y3, new Point(150, 132.5), new Point(150, 125));
- new GUIWire(submodelModifiable, and4.getPinY(), Y4, new Point(150, 182.5), new Point(150, 175));
- }
-
- public Pin getPinA1()
- {
- return pinA1;
- }
-
- public Pin getPinA2()
- {
- return pinA2;
- }
-
- public Pin getPinA3()
- {
- return pinA3;
- }
-
- public Pin getPinA4()
- {
- return pinA4;
- }
-
- public Pin getPinB()
- {
- return pinB;
- }
-
- public Pin getPinY1()
- {
- return pinY1;
- }
-
- public Pin getPinY2()
- {
- return pinY2;
- }
-
- public Pin getPinY3()
- {
- return pinY3;
- }
-
- public Pin getPinY4()
- {
- return pinY4;
+ and1.moveTo(30, 7.5);
+ and2.moveTo(30, 32.5);
+ and3.moveTo(30, 57.5);
+ and4.moveTo(30, 82.5);
+ cpB2.moveCenterTo(25, 47.5);
+ cpB3.moveCenterTo(25, 72.5);
+ cpB4.moveCenterTo(25, 97.5);
+
+ new GUIWire(submodelModifiable, A1, and1.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, A2, and2.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, A3, and3.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, A4, and4.getPin("A"), new Point[0]);
+ new GUIWire(submodelModifiable, B, cpB4, new Point(25, 112.5));
+ new GUIWire(submodelModifiable, cpB4, and4.getPin("B"), new Point[0]);
+ new GUIWire(submodelModifiable, cpB4, cpB3, new Point[0]);
+ new GUIWire(submodelModifiable, cpB3, and3.getPin("B"), new Point[0]);
+ new GUIWire(submodelModifiable, cpB3, cpB2, new Point[0]);
+ new GUIWire(submodelModifiable, cpB2, and2.getPin("B"), new Point[0]);
+ new GUIWire(submodelModifiable, cpB2, and1.getPin("B"), new Point(25, 22.5));
+ new GUIWire(submodelModifiable, and1.getPin("Y"), Y1, new Point[0]);
+ new GUIWire(submodelModifiable, and2.getPin("Y"), Y2, new Point[0]);
+ new GUIWire(submodelModifiable, and3.getPin("Y"), Y3, new Point[0]);
+ new GUIWire(submodelModifiable, and4.getPin("Y"), Y4, new Point[0]);