of

@Contract(value = "_, _, _, _ -> new", pure = true)
fun of(precipitation: Precipitation, temperature: Float, downfall: Float, temperatureModifier: TemperatureModifier): Climate

Creates a new climate with the given values.

Return

a new climate

Parameters

precipitation

the precipitation

temperature

the temperature

downfall

the downfall

temperatureModifier

the temperature modifier