Carry typed orbit keys through zone construction
This commit is contained in:
parent
397f3aff5a
commit
4217394cc2
6 changed files with 136 additions and 18 deletions
|
|
@ -25,10 +25,14 @@ public abstract class BodyConstructionData : INamedEntry
|
|||
{
|
||||
public Guid ID = Guid.NewGuid();
|
||||
|
||||
public string BodyKey = "";
|
||||
|
||||
public string Name = "";
|
||||
|
||||
public Guid Orbit;
|
||||
|
||||
public string OrbitKey = "";
|
||||
|
||||
public float Mass = 0;
|
||||
|
||||
public Dictionary<string, float> Resources = new Dictionary<string, float>();
|
||||
|
|
@ -107,8 +111,12 @@ public class OrbitConstructionData
|
|||
{
|
||||
public Guid ID = Guid.NewGuid();
|
||||
|
||||
public string OrbitKey = "";
|
||||
|
||||
public Guid Parent;
|
||||
|
||||
public string ParentOrbitKey = "";
|
||||
|
||||
public float Distance;
|
||||
|
||||
public float Phase;
|
||||
|
|
|
|||
Loading…
Reference in a new issue