root/ui/bottom_menu.gd

1
2
3
4
5
6
7
8
9
10
11
12
13
extends HBoxContainer


func _ready():
	var _e = $schedule_button.connect("pressed", self, "open_schedule")
	_e = $presents_button.connect("pressed", self, "open_presents")
	pass

func open_schedule():
	$"../schedule".open_with(null)

func open_presents():
	$"../presents".open()