/// <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; }
/// <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; }
public PlanetData(APlanetoidStat stat) : base(stat) { }
public MoonData(APlanetoidStat stat) : base(stat) { }