Beispiel #1
0
 public override void Verify()
 {
     MyValueVerifier.VerifyFloat(0.1f, 100f, 2.0f, "PlanetSizeMultiplier", ref PlanetSizeMultiplier);
     MyValueVerifier.VerifyInt(1, int.MaxValue, 1200000, "PlanetSizeCap", ref PlanetSizeCap);
     MyValueVerifier.VerifyFloat(0, 1, 0f, "PlanetSizeDeviation", ref PlanetSizeDeviation);
     MyValueVerifier.VerifyFloat(0, 1, 0.3f, "BaseMoonProbability", ref BaseMoonProbability);
     MyValueVerifier.VerifyFloat(0, 1, 0.25f, "BaseRingProbability", ref BaseRingProbability);
 }
        public override void Verify()
        {
            MinMaxPlanets.Verify();
            MinMaxAsteroidObjects.Verify();
            MinMaxOrbitDistance.Verify();

            MyValueVerifier.VerifyFloat(0f, 2f, 0.6f, "AsteroidDensity", ref AsteroidDensity);
            MyValueVerifier.VerifyLong(-1, long.MaxValue, -1, "WorldSize", ref WorldSize);

            PlanetSettings.Verify();
            GPSSettings.Verify();
            return;
        }
 public override void Verify()
 {
     MyValueVerifier.VerifyFloat(0.1f, 100f, 2.0f, "PlanetSizeMultiplier", ref PlanetSizeMultiplier);
     MyValueVerifier.VerifyInt(1, int.MaxValue, 1200000, "PlanetSizeCap", ref PlanetSizeCap);
 }