test-client-godot/scenes/GUI/Home/Home.gd

27 lines
497 B
GDScript3
Raw Normal View History

2018-07-25 07:36:19 +00:00
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()