mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 19:44:05 +09:00
weather in weathercodex
This commit is contained in:
@@ -181,7 +181,7 @@ open class GameWorld(
|
||||
var weatherbox = Weatherbox()
|
||||
|
||||
init {
|
||||
weatherbox.initWith(WeatherMixer.weatherDict["generic01"] ?: WeatherMixer.DEFAULT_WEATHER, 3600L)
|
||||
weatherbox.initWith(WeatherCodex.getById("generic01") ?: WeatherMixer.DEFAULT_WEATHER, 3600L)
|
||||
val currentWeather = weatherbox.currentWeather
|
||||
// TEST FILL WITH RANDOM VALUES
|
||||
(0..6).map { WeatherMixer.takeUniformRand(0f..1f) }.let {
|
||||
|
||||
Reference in New Issue
Block a user