コード例 #1
0
        public override void BeginInitialization()
        {
            if (_log.IsDebugEnabled)
            {
                _log.DebugFormat("Starting {0}", MethodBase.GetCurrentMethod().ToString());
            }
            base.BeginInitialization();
            if (FleetAICommonality != null)
            {
                FleetAICommonality.BeginInitialization();
            }
            if (Carrier != null)
            {
                Carrier.BeginInitialization();
            }
            if (Art != null)
            {
                Art.BeginInitialization();
            }
            if (InternalDefinition != null)
            {
                InternalDefinition.BeginInitialization();
            }
            Shields.BeginInitialization();
            if (Performance != null)
            {
                Performance.BeginInitialization();
            }
            if (DronePorts != null)
            {
                DronePorts.BeginInitialization();
            }
            if (BeamPorts != null)
            {
                BeamPorts.BeginInitialization();
            }



            if (TorpedoTubes != null)
            {
                TorpedoTubes.BeginInitialization();
            }
            if (EnginePorts != null)
            {
                EnginePorts.BeginInitialization();
            }

            if (ManeuverPoints != null)
            {
                ManeuverPoints.BeginInitialization();
            }

            if (ImpulsePoints != null)
            {
                ImpulsePoints.BeginInitialization();
            }

            if (Torpedoes != null)
            {
                Torpedoes.BeginInitialization();
            }
            if (Description != null)
            {
                Description.BeginInitialization();
            }
            if (_log.IsDebugEnabled)
            {
                _log.DebugFormat("Ending {0}", MethodBase.GetCurrentMethod().ToString());
            }
        }