Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PlanetoidItemData"/> class.
 /// </summary>
 /// <param name="stat">The stat.</param>
 public PlanetoidItemData(APlanetoidStat stat)
     : base(stat.Name, stat.Mass, stat.MaxHitPoints) {
     Category = stat.Category;
     Capacity = stat.Capacity;
     Resources = stat.Resources;
     SpecialResources = stat.SpecialResources;
     base.Topography = Topography.System;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="APlanetoidData"/> class.
 /// </summary>
 /// <param name="stat">The stat.</param>
 public APlanetoidData(APlanetoidStat stat)
     : base(stat.Category.GetValueName(), stat.Mass, stat.MaxHitPoints) {
     Category = stat.Category;
     Capacity = stat.Capacity;
     Resources = stat.OpeResources;
     SpecialResources = stat.RareResources;
     Topography = Topography.System;
 }
Esempio n. 3
0
 public PlanetData(APlanetoidStat stat) : base(stat) { }
Esempio n. 4
0
 public MoonData(APlanetoidStat stat) : base(stat) { }