21 lines
431 B
GDScript
21 lines
431 B
GDScript
extends Control
|
|
|
|
@onready var level_control = get_tree().current_scene
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
visible = false
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
pass
|
|
|
|
|
|
func _on_resume_pressed() -> void:
|
|
level_control.pause_menu()
|
|
|
|
|
|
func _on_save__quit_pressed() -> void:
|
|
level_control.save_quit()
|