You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
342 B
21 lines
342 B
extends Control
|
|
|
|
var SettingsMenu = preload("res://scenes/menus/SettingsMenu.tscn")
|
|
|
|
|
|
func _draw():
|
|
find_node("resume").grab_focus()
|
|
|
|
|
|
func _on_resume_pressed():
|
|
hide()
|
|
|
|
|
|
func _on_settings_pressed():
|
|
var settings_menu = SettingsMenu.instance()
|
|
get_parent().add_child(settings_menu)
|
|
hide()
|
|
|
|
|
|
func _on_end_pressed():
|
|
gamestate.quit_game()
|