main menu
This commit is contained in:
parent
29254dbda0
commit
089ebc4797
35 changed files with 389 additions and 117 deletions
14
scripts/sacrifice.gd
Normal file
14
scripts/sacrifice.gd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
extends TextureButton
|
||||
|
||||
@onready var confirm = $CONFIRM
|
||||
|
||||
func _pressed() -> void:
|
||||
confirm.popup_centered()
|
||||
|
||||
|
||||
func _on_confirm_close_requested() -> void:
|
||||
get_tree().change_scene_to_file("res://scenes/sacrifice.tscn")
|
||||
|
||||
|
||||
func _on_confirm_confirmed() -> void:
|
||||
get_tree().change_scene_to_file("res://scenes/sacrifice.tscn")
|
||||
Loading…
Add table
Add a link
Reference in a new issue