2020-03-21 15:50:44 +00:00
|
|
|
extends WindowDialog
|
|
|
|
|
|
|
|
signal time_of_day_changed( value )
|
|
|
|
signal mist_level_changed( value )
|
2020-03-22 16:04:01 +00:00
|
|
|
signal oubli_changed( value )
|
|
|
|
signal douleur_changed( value )
|
|
|
|
signal trauma_changed( value )
|
2020-03-21 15:50:44 +00:00
|
|
|
|
|
|
|
func _on_time_of_day_value_changed(value):
|
|
|
|
emit_signal( "time_of_day_changed", value )
|
|
|
|
|
|
|
|
|
|
|
|
func _on_mist_level_value_changed(value):
|
|
|
|
emit_signal( "mist_level_changed", value )
|
2020-03-22 16:04:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
func _on_oubli_value_changed(value):
|
|
|
|
emit_signal( "oubli_changed", value )
|
|
|
|
|
|
|
|
|
|
|
|
func _on_douleur_value_changed(value):
|
|
|
|
emit_signal( "douleur_changed", value )
|
|
|
|
|
|
|
|
|
|
|
|
func _on_trauma_value_changed(value):
|
|
|
|
emit_signal( "trauma_changed", value )
|
2020-03-22 16:31:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
func update_fears( oubli, douleur, trauma ):
|
|
|
|
$v_box_container/fears_box/oubli/value.value = oubli
|
|
|
|
$v_box_container/fears_box/douleur/value.value = douleur
|
|
|
|
$v_box_container/fears_box/trauma/value.value = trauma
|