//============================================================================* // 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; }
//============================================================================* // cRedDot() - Copy Constructor //============================================================================* public cRedDot(cRedDot RedDot) : base(RedDot) { Copy(RedDot); }