Integrated new types, tests still work, not used yet
[Mograsim.git] / era.mi / src / era / mi / logic / components / gates / XorGate.java
index 3181954..d87f147 100644 (file)
@@ -1,15 +1,17 @@
 package era.mi.logic.components.gates;\r
 \r
 import era.mi.logic.Util;\r
-import era.mi.logic.wires.WireArray;\r
+import era.mi.logic.wires.Wire.WireEnd;\r
 \r
 /**\r
  * Outputs 1 when the number of 1 inputs is odd.\r
  * \r
  * @author Fabian Stemmler\r
  */\r
-public class XorGate extends MultiInputGate {\r
-       public XorGate(int processTime, WireArray out, WireArray... in) {\r
+public class XorGate extends MultiInputGate\r
+{\r
+       public XorGate(int processTime, WireEnd out, WireEnd... in)\r
+       {\r
                super(processTime, Util::xor, out, in);\r
        }\r
 \r