aboutsummaryrefslogtreecommitdiff
path: root/game/src/MainMenu.gd
blob: a5c6198ab91dc59f6e7b29bb0c874cd6827d5841 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
extends Control

signal options_button_pressed

func _ready():
   print("From GDScript")
   TestSingleton.hello_singleton()
   $VBox/Center/VBox/NewGameButton.grab_focus()


func _on_new_game_button_pressed():
   print("Start a new game!")


func _on_continue_button_pressed():
   print("Continue last game!")


func _on_multi_player_button_pressed():
   print("Have fun with friends!")


func _on_options_button_pressed():
   print("Check out some options!")
   options_button_pressed.emit()


func _on_exit_button_pressed():
   print("See you later!")
   get_tree().quit()