コード例 #1
0
 private static void CalculateBarrenMoonProperties(Moon moon)
 {
     moon.AtmosphericDensity   = 0;
     moon.BreathableAtmosphere = false;
     moon.FaunaBioDiversity    = 0;
     moon.FloraBioDiversity    = 0;
     moon.LandmassRatio        = 1;
     moon.GreenhouseModifier   = 0;
 }
コード例 #2
0
 private static void CalculateAtmosphericMoonProperties(Moon moon)
 {
     moon.GreenhouseModifier   = CalculateGreenhouseMultiplier();
     moon.AtmosphericDensity   = CalculateAtmosphericDensity(moon.ResourcesByState.Atmospherics);
     moon.BreathableAtmosphere = true;
     moon.FaunaBioDiversity    = CalulateBioDiversity();
     moon.FloraBioDiversity    = CalulateBioDiversity();
     moon.LandmassRatio        = CalculateLandmassRatio();
 }