add random weather function

This commit is contained in:
2026-04-24 17:44:43 +02:00
parent 72c933ba73
commit e8f2c4db84
5 changed files with 96 additions and 14 deletions

View File

@@ -25,6 +25,9 @@ func _on_wind_toggled(toggled_on: bool) -> void:
func _on_wind_slider_value_changed(value: float) -> void:
UIEvents.wind_change.emit(value)
func _on_random_weather_pressed() -> void:
UIEvents.trigger_random_weather.emit(10.0)
func _on_fireflies_toggled(toggled_on: bool) -> void:
UIEvents.toggle_fireflies.emit(toggled_on)