Exemplo n.º 1
0
        public virtual void Start(MySmallShip ship, MyDetectorConfiguration configuration) 
        {
            m_ship = ship;
            m_detectInterval = configuration.DetectInterval;
            m_timeFromLastDetect = 0;
            m_isActive = false;
            m_detectorType = configuration.DetectorType;

            Range = configuration.Range;
            CanBeDisabledByRadarJammer = configuration.CanBeDisabledByRadarJammer;
        }
Exemplo n.º 2
0
        public virtual void Start(MySmallShip ship, MyDetectorConfiguration configuration)
        {
            m_ship               = ship;
            m_detectInterval     = configuration.DetectInterval;
            m_timeFromLastDetect = 0;
            m_isActive           = false;
            m_detectorType       = configuration.DetectorType;

            Range = configuration.Range;
            CanBeDisabledByRadarJammer = configuration.CanBeDisabledByRadarJammer;
        }
Exemplo n.º 3
0
 public override void Start(MySmallShip ship, MyDetectorConfiguration configuration) 
 {
     base.Start(ship, configuration);
     m_oreMaterial = (MyMwcVoxelMaterialsEnum)configuration.Parameters[0];
 }        
Exemplo n.º 4
0
 public override void Start(MySmallShip ship, MyDetectorConfiguration configuration)
 {
     base.Start(ship, configuration);
     m_oreMaterial = (MyMwcVoxelMaterialsEnum)configuration.Parameters[0];
 }