示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LayerStack"/> class with an enumerable of layers.
 /// </summary>
 /// <param name="parent">The parent.</param>
 /// <param name="layers">The layers.</param>
 public LayerStack(SatelliteBody parent, IEnumerable <Layer> layers) : this(parent)
 {
     _layers = new List <Layer>(layers);
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LayerStack"/> class.
 /// </summary>
 /// <param name="parent">The parent.</param>
 public LayerStack(SatelliteBody parent)
 {
     _parent = parent;
 }