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.
25 lines
323 B
25 lines
323 B
extends Control
|
|
|
|
|
|
func _draw():
|
|
find_node("resume").grab_focus()
|
|
|
|
|
|
func _physics_process(delta):
|
|
if Input.is_action_just_pressed("ui_cancel"):
|
|
if is_visible_in_tree():
|
|
hide()
|
|
else:
|
|
show()
|
|
|
|
|
|
func _on_resume_pressed():
|
|
hide()
|
|
|
|
|
|
func _on_settings_pressed():
|
|
pass
|
|
|
|
|
|
func _on_end_pressed():
|
|
gamestate.quit_game()
|