test-client-godot/scenes/GUI/Home/Home.gd
2018-07-25 09:36:19 +02:00

26 lines
497 B
GDScript

extends MarginContainer
signal play_pressed
signal setting_pressed
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_PlayButton_pressed():
emit_signal("play_pressed" )
func _on_SettingsButton_pressed():
emit_signal("setting_pressed" )
func _on_QuitButton_pressed():
get_tree().quit()