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