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

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

            base.Copy(Gear);

            cLight Light = (cLight)Gear;

            m_nLumens = Light.m_nLumens;

            m_strBattery = Light.m_strBattery;
        }
Exemple #2
0
        //============================================================================*
        // cLight() - Copy Constructor
        //============================================================================*

        public cLight(cLight Light)
            : base(Light)
        {
            Copy(Light);
        }