{
super(model, 1, "GUIand");
setSubmodelScale(.4);
- setInputCount(2);
- setOutputCount(1);
+ setInputPins("A", "B");
+ setOutputPins("Y");
initSubmodelComponents();
}
nand.moveTo(20, 15);
not.moveTo(50, 15);
- cp1.moveTo(45, 25);
+ cp1.moveCenterTo(45, 25);
new GUIWire(submodelModifiable, A, nand.getInputPins().get(0));
new GUIWire(submodelModifiable, B, nand.getInputPins().get(1));