Example #1
0
        public void TestMe()
        {
            Atmosphere atmosphere = new Atmosphere();

            var mass = atmosphere.Mass;

            Console.WriteLine($"Atmosphere mass: {mass} kg");

            foreach (var composition in atmosphere.Gasses.Values)
            {
                Console.WriteLine($"{composition.Gas.Name}: {composition.Mass / mass * 100}%");
            }

            Console.WriteLine($"dT: {atmosphere.DeltaTemperature} °C");
        }
Example #2
0
        private const float NoiseStrength      = 20f;      // °C - Noise max effect

        public ClimateManager()
        {
            Atmosphere = new Atmosphere();
        }