This commit is contained in:
Gerard Gascón 2025-04-24 17:06:24 +02:00
commit 18efc36800
161 changed files with 5008 additions and 0 deletions

16
scripts/event.gd Normal file
View file

@ -0,0 +1,16 @@
extends Node
signal event_completed
signal event_failed
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta):
if (Input.is_action_just_pressed("ui_accept")):
event_completed.emit()
if (Input.is_action_just_pressed("ui_cancel")):
event_failed.emit()