2021-10-20 02:13:23 +00:00
|
|
|
extends Control
|
|
|
|
|
|
|
|
|
2021-10-20 05:40:31 +00:00
|
|
|
# Declare member variables here:
|
2021-10-20 02:13:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
|
|
func _ready():
|
|
|
|
$VBoxContainer/Singleplayer.grab_focus()
|
|
|
|
|
|
|
|
func _on_Singleplayer_pressed():
|
2021-10-20 05:40:31 +00:00
|
|
|
MessageBus.emit_signal("change_scene", "Singleplayer")
|
2021-10-20 02:13:23 +00:00
|
|
|
|
|
|
|
func _on_Multiplayer_pressed():
|
2021-10-20 05:40:31 +00:00
|
|
|
MessageBus.emit_signal("change_scene", "Multiplayer")
|
2021-10-20 02:13:23 +00:00
|
|
|
|
|
|
|
func _on_Options_pressed():
|
2021-10-20 05:40:31 +00:00
|
|
|
MessageBus.emit_signal("change_scene", "Options")
|
2021-10-20 02:13:23 +00:00
|
|
|
|
|
|
|
func _on_Quit_pressed():
|
2021-10-20 05:40:31 +00:00
|
|
|
MessageBus.emit_signal("quit")
|