Exemple #1
0
        //============================================================================*
        // Copy()
        //============================================================================*

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

            base.Copy(Gear);

            cScope Scope = (cScope)Gear;

            m_strPower     = Scope.m_strPower;
            m_strObjective = Scope.m_strObjective;

            m_nTubeSize        = Scope.m_nTubeSize;
            m_eTubeMeasurement = Scope.m_eTubeMeasurement;
            m_eTurretType      = Scope.m_eTurretType;

            m_dTurretClick = Scope.m_dTurretClick;

            m_strBattery = Scope.m_strBattery;
            m_dEyeRelief = Scope.m_dEyeRelief;

            FixTubeSize();
        }
Exemple #2
0
        //============================================================================*
        // cScope() - Copy Constructor
        //============================================================================*

        public cScope(cScope Scope)
            : base(Scope)
        {
            Copy(Scope);
        }