Update select scene item, clean old button reset and add *button reset* and *button large*.

This commit is contained in:
stilobique-surface
2021-05-15 17:29:18 +02:00
parent 1265684c53
commit 73d811a35b
14 changed files with 182 additions and 35 deletions
+2 -2
View File
@@ -52,13 +52,13 @@ func _configure_select(level, node):
select.connect("pressed", self, _build_method(level.name()))
func _configure_reset(level, node):
var reset = get_node(node+"/VBoxContainer/ButtonReset")
var reset = get_node(node+"/VBoxContainer/MarginContainer/ButtonReset")
if int(level.object_finding()) != 0:
reset.set_disabled(true)
reset.connect("pressed", self, "_on_reset_level")
func _configure_counter(level, node):
var count = get_node(node+"/VBoxContainer/ButtonCount/Label")
var count = get_node(node+"/VBoxContainer/MarginContainer2/ButtonCount/Label")
count.set_text(level.object_finding()+" / "+level.object_to_find())