1
0
mirror of https://github.com/JohnBreaux/Boat-Battle.git synced 2024-11-15 21:35:59 +00:00
Boat-Battle/godot_ship/script/game/Gameplay.gd

21 lines
439 B
GDScript3

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():
if find_next_valid_focus(): find_next_valid_focus().grab_focus()
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
func _on_Forfeit_pressed():
queue_free();
MessageBus.emit_signal("change_scene", "Title")