2021-10-21 02:21:15 +00:00
|
|
|
extends Control
|
|
|
|
|
|
|
|
|
|
|
|
# Declare member variables here. Examples:
|
|
|
|
# var a = 2
|
|
|
|
# var b = "text"
|
|
|
|
|
|
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
|
|
func _ready():
|
2021-10-21 10:22:42 +00:00
|
|
|
if find_next_valid_focus(): find_next_valid_focus().grab_focus()
|
2021-10-21 02:21:15 +00:00
|
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
|
|
#func _process(delta):
|
|
|
|
# pass
|
|
|
|
|
|
|
|
|
|
|
|
func _on_Forfeit_pressed():
|
2021-10-21 02:26:33 +00:00
|
|
|
queue_free();
|
2021-11-08 02:42:50 +00:00
|
|
|
AudioBus.emit_signal("button_clicked")
|
2021-10-21 06:24:27 +00:00
|
|
|
MessageBus.emit_signal("change_scene", "Title")
|