protected Gate(Gate inGate1, Gate inGate2, Gate outGate) { InGates[0] = inGate1; InGates[1] = inGate2; OutGate = outGate; }
private static void Connect(Gate source, Gate dest, int destIdx) { dest.InGates[destIdx] = source; source.OutGate = dest; }
protected Gate() { InGates[0] = null; InGates[1] = null; OutGate = null; }