예제 #1
0
        //============================================================================*
        // Copy()
        //============================================================================*

        public override void Copy(cGear Gear)
        {
            if (Gear.GearType != eGearTypes.RedDot)
            {
                return;
            }

            base.Copy(Gear);

            cRedDot RedDot = (cRedDot)Gear;

            m_dDotMOA          = RedDot.m_dDotMOA;
            m_dCowitnessHeight = RedDot.m_dCowitnessHeight;
            m_dTubeDiameter    = RedDot.m_dTubeDiameter;

            m_strBattery = RedDot.m_strBattery;
        }
예제 #2
0
        //============================================================================*
        // cRedDot() - Copy Constructor
        //============================================================================*

        public cRedDot(cRedDot RedDot)
            : base(RedDot)
        {
            Copy(RedDot);
        }