Fronter/Node.gd

22 lines
388 B
GDScript

extends Node
signal restart
# class member variables go here, for example:
# var a = 2
# var b = "textvar"
func _ready():
# Called every time the node is added to the scene.
# Initialization here
pass
#func _process(delta):
# # Called every frame. Delta is time since last frame.
# # Update game logic here.
# pass
func _on_Button_pressed():
emit_signal("restart")
queue_free()