2025-09-18 17:49:57 +02:00
|
|
|
extends Control
|
|
|
|
|
|
|
|
|
|
signal retry
|
|
|
|
|
signal exit
|
|
|
|
|
|
2025-09-18 20:01:22 +02:00
|
|
|
@onready var points: Label = $MarginContainer/VBoxContainer/MarginContainer/HBoxContainer/Points
|
|
|
|
|
|
|
|
|
|
|
2025-09-18 17:49:57 +02:00
|
|
|
func _on_retry_pressed() -> void:
|
|
|
|
|
emit_signal("retry")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func _on_exit_pressed() -> void:
|
|
|
|
|
emit_signal("exit")
|
2025-09-18 20:01:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
func _on_visibility_changed() -> void:
|
|
|
|
|
if not points:
|
|
|
|
|
return
|
|
|
|
|
points.text = str(PictureTakeablesArray.points)
|
|
|
|
|
pass # Replace with function body.
|