dcs-retribution/game/weather/atmosphericconditions.py
Dan Albert 8ed843a9cf
Move and split up weather.py.
This is getting out of hand, and I'm about to make it worse.
2023-05-18 13:31:26 +02:00

18 lines
343 B
Python

from __future__ import annotations
from dataclasses import dataclass
from game.utils import Pressure
@dataclass(frozen=True)
class AtmosphericConditions:
#: Pressure at sea level.
qnh: Pressure
#: Temperature at sea level in Celcius.
temperature_celsius: float
#: Turbulence per 10 cm.
turbulence_per_10cm: float