Exemple #1
0
 public GeneratorSettings()
 {
     MinObjectsInSystem       = 5;
     MaxObjectsInSystem       = 25;
     MinOrbitDistance         = 4000000;
     MaxOrbitDistance         = 10000000;
     AsteroidGenerator        = AsteroidGenerator.PLUGIN;
     AsteroidDensity          = 0.6f;
     PlanetSettings           = new PlanetSettings();
     BeltSettings             = new BeltSettings();
     SemiRandomizedGeneration = false;
     WorldSize         = -1;
     FirstPlanetCenter = false;
 }
Exemple #2
0
        public PlanetSettings copy()
        {
            PlanetSettings p = new PlanetSettings();

            p.SizeMultiplier     = SizeMultiplier;
            p.PlanetSizeCap      = PlanetSizeCap;
            p.MoonProbability    = MoonProbability;
            p.RingSettings       = RingSettings.copy();
            p.ShowPlanetGPS      = ShowPlanetGPS;
            p.ShowMoonGPS        = ShowMoonGPS;
            p.PlanetNameFormat   = PlanetNameFormat;
            p.MoonNameFormat     = MoonNameFormat;
            p.BlacklistedPlanets = BlacklistedPlanets;
            p.MandatoryPlanets   = MandatoryPlanets;
            p.Moons     = Moons;
            p.GasGiants = GasGiants;

            return(p);
        }