} /// <summary> /// Override the clone method /// </summary> /// <returns></returns> public override Gate Clone() { Gate g1 = new AndGate(0, 0); return(g1); }
/// <summary> /// Creates a new copy of an AND Gate. /// </summary> /// <returns>A new And Gate</returns> public override Gate Clone() { Gate andGateCopy = new AndGate(0, 0); return(andGateCopy); }