init
This commit is contained in:
commit
18efc36800
161 changed files with 5008 additions and 0 deletions
16
scripts/event.gd
Normal file
16
scripts/event.gd
Normal 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()
|
Loading…
Add table
Add a link
Reference in a new issue