Renamed project to MoGraSim
[Mograsim.git] / LogicUI / src / mograsim / logic / ui / model / components / GUIAndGate.java
diff --git a/LogicUI/src/mograsim/logic/ui/model/components/GUIAndGate.java b/LogicUI/src/mograsim/logic/ui/model/components/GUIAndGate.java
new file mode 100644 (file)
index 0000000..8efea1c
--- /dev/null
@@ -0,0 +1,12 @@
+package mograsim.logic.ui.model.components;
+
+import mograsim.logic.ui.model.ViewModel;
+
+public class GUIAndGate extends SimpleRectangularGUIGate
+{
+       public GUIAndGate(ViewModel model, int logicWidth)
+       {
+               super(model, logicWidth, "&", false);
+               setInputCount(2);// TODO make variable
+       }
+}
\ No newline at end of file