Suppressed warnings where the thing warned about is intentional
[Mograsim.git] / LogicUI / src / era / mi / gui / model / components / GUIAndGate.java
index 4f69d36..65f1db4 100644 (file)
@@ -2,11 +2,11 @@ package era.mi.gui.model.components;
 
 import era.mi.gui.model.ViewModel;
 
-public class GUIAndGate extends RectangularShapedGUIGate
+public class GUIAndGate extends SimpleRectangularGUIGate
 {
-       public GUIAndGate(ViewModel model)
+       public GUIAndGate(ViewModel model, int logicWidth)
        {
-               super(model, "&", false);
-               setInputCount(2);
+               super(model, logicWidth, "&", false);
+               setInputCount(2);// TODO make variable
        }
 }
\ No newline at end of file