예제 #1
0
    /// <summary>
    /// Gets wind delta on current position
    /// Use <see cref="CirculationGenerator"/> for more detailed access
    /// </summary>
    public double GetWindDelta(int posX, int posY)
    {
        double elevation   = ElevationGenerator.GetElevation(posX, posY);
        double airpressure = CirculationGenerator.GetAirPressure(posX, posY, elevation);

        return(CirculationGenerator.GetWindDelta(posX, posY, airpressure, ElevationGenerator.IsLand(elevation), elevation));
    }
예제 #2
0
    /// <summary>
    /// Gets air pressure on current position
    /// Use <see cref="CirculationGenerator"/> for more detailed access
    /// </summary>
    public double GetAirPressure(int posX, int posY)
    {
        double elevation = ElevationGenerator.GetElevation(posX, posY);

        return(CirculationGenerator.GetAirPressure(posX, posY, elevation));
    }