aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameSession/GameSessionMenu.gd
blob: 3722b521d55ad5b373e1cc538582b50be46bf80a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
extends PanelContainer

signal close_button_pressed

@export var _main_menu_scene : PackedScene

func _ready():
   print("GameSessionMenu ready")

# REQUIREMENTS:
# * SS-47
# * UIFUN-69
func _on_to_main_menu_pressed():
   get_tree().change_scene_to_packed(_main_menu_scene)

# REQUIREMENTS:
# * UIFUN-69
func _on_close_button_pressed():
   close_button_pressed.emit()