Beispiel #1
0
 public RootDefinition(double SolarMasses, StarColor color, string name, string description)
 {
     this.SolarMasses = SolarMasses;
     this.color       = color;
     this.name        = name;
     this.description = description;
 }
 public StarSystemDefintion(string Name, string BodyDescription, StarColor StarColor, double Inclination, double Eccentricity, double SemiMajorAxis, double LAN, double ArgumentOfPeriapsis, double MeanAnomalyAtEpoch, double Epoch, double Mass, double Radius, int FlightGlobalsIndex, float ScienceMultiplier)
 {
     this.Name                      = Name;
     this.BodyDescription           = BodyDescription;
     this.StarColor                 = StarColor;
     this.orbit.Inclination         = Inclination;
     this.orbit.Eccentricity        = Eccentricity;
     this.orbit.SemiMajorAxis       = SemiMajorAxis;
     this.orbit.LAN                 = LAN;
     this.orbit.ArgumentOfPeriapsis = ArgumentOfPeriapsis;
     this.orbit.MeanAnomalyAtEpoch  = MeanAnomalyAtEpoch;
     this.orbit.Epoch               = Epoch;
     this.Radius                    = Radius;
     this.FlightGlobalsIndex        = FlightGlobalsIndex;
     this.ScienceMultiplier         = ScienceMultiplier;
 }