/// <summary>
        /// Creates a new copy of and OR Gate.
        /// </summary>
        /// <returns>A new OR Gate</returns>
        public override Gate Clone()
        {
            Gate orGateCopy = new OrGate(0, 0);

            return(orGateCopy);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Override the clone method
        /// </summary>
        /// <returns></returns>
        public override Gate Clone()
        {
            Gate g1 = new OrGate(0, 0);

            return(g1);
        }