예제 #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;
 }
예제 #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;
 }
예제 #3
0
 public PlanetData(APlanetoidStat stat) : base(stat) { }
예제 #4
0
 public MoonData(APlanetoidStat stat) : base(stat) { }