summaryrefslogtreecommitdiff
path: root/UI/Menu/Menu.gd
blob: 400f669d546238da48041a0f1350e1873a7e9d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extends CanvasLayer
# needs to be a CanvasLayer as parent so it's drawn on top


func _ready():
	self.pause_mode = PAUSE_MODE_PROCESS


func close():
	get_tree().paused = false
	self.queue_free()


func _on_Close_pressed():
	self.close()