/// <summary> /// Gets precipitation on current position /// Use <see cref="PrecipitationGenerator"/> for more detailed access /// </summary> public double GetPrecipitation(int posX, int posY) { double elevation = ElevationGenerator.GetElevation(posX, posY); double temperature = TemperatureGenerator.GetTemperature(posX, elevation); return(PrecipitationGenerator.GetPrecipitation(posX, posY, elevation, temperature)); }
/// <summary> /// Gets temperature on current position /// Use <see cref="TemperatureGenerator"/> for more detailed access /// </summary> public double GetTemperature(int posX, int posY) { double elevation = ElevationGenerator.GetElevation(posX, posY); return(TemperatureGenerator.GetTemperature(posY, elevation)); }