Пример #1
0
 public void Reinitialize()
 {
     _sensorRings                            = new RangeRingDisplayInfo();
     _sensorRings.RingColor                  = System.Drawing.Color.Green.ToArgb();
     _sensorRings.Opacity                    = _defaultOpacity;
     _sensorRings.CurrentlySelectedID        = String.Empty;
     _vulnerabilityRings                     = new RangeRingDisplayInfo();
     _vulnerabilityRings.RingColor           = System.Drawing.Color.Blue.ToArgb();
     _vulnerabilityRings.Opacity             = _defaultOpacity;
     _vulnerabilityRings.CurrentlySelectedID = String.Empty;
     _capabilityRings                        = new RangeRingDisplayInfo();
     _capabilityRings.RingColor              = System.Drawing.Color.Red.ToArgb();
     _capabilityRings.Opacity                = _defaultOpacity;
     _capabilityRings.CurrentlySelectedID    = String.Empty;
     _textureCollection                      = new Dictionary <string, Dictionary <string, Texture> >();
     _objectLocks                            = new Dictionary <string, object>();
 }
Пример #2
0
 public void Reinitialize()
 {
     _sensorRings = new RangeRingDisplayInfo();
     _sensorRings.RingColor = System.Drawing.Color.Green.ToArgb();
     _sensorRings.Opacity = _defaultOpacity;
     _sensorRings.CurrentlySelectedID = String.Empty;
     _vulnerabilityRings = new RangeRingDisplayInfo();
     _vulnerabilityRings.RingColor = System.Drawing.Color.Blue.ToArgb();
     _vulnerabilityRings.Opacity = _defaultOpacity;
     _vulnerabilityRings.CurrentlySelectedID = String.Empty;
     _capabilityRings = new RangeRingDisplayInfo();
     _capabilityRings.RingColor = System.Drawing.Color.Red.ToArgb();
     _capabilityRings.Opacity = _defaultOpacity;
     _capabilityRings.CurrentlySelectedID = String.Empty;
     _textureCollection = new Dictionary<string, Dictionary<string, Texture>>();
     _objectLocks = new Dictionary<string, object>();
 }