diff --git a/Assets/scripts/Main Menu.gd b/Assets/scripts/Main Menu.gd index 9a777bb..87574cd 100644 --- a/Assets/scripts/Main Menu.gd +++ b/Assets/scripts/Main Menu.gd @@ -1,22 +1,17 @@ extends Control +signal startGame # Called when the node enters the scene tree for the first time. func _ready(): pass # Replace with function body. - -# Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): - pass - - func _on_exit_pressed(): get_tree().quit() func _on_start_pressed(): - pass # Replace with function body. + emit_signal("startGame") func _on_settings_pressed():