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