extends Control

func _ready() -> void:
	var start_btn := $VBoxContainer/StartButton as Button
	var quit_btn := $VBoxContainer/QuitButton as Button
	start_btn.pressed.connect(_on_start_pressed)
	quit_btn.pressed.connect(_on_quit_pressed)

func _on_start_pressed() -> void:
	get_tree().change_scene_to_file("res://src/ui/scenes/training_room.tscn")

func _on_quit_pressed() -> void:
	get_tree().quit()
