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

18 lines
354 B
GDScript3
Raw Normal View History

2018-07-25 07:36:19 +00:00
extends MarginContainer
signal play_pressed
signal setting_pressed
signal logout_pressed
2018-07-25 07:36:19 +00:00
func _on_PlayButton_pressed():
emit_signal("play_pressed" )
func _on_SettingsButton_pressed():
emit_signal("setting_pressed" )
func _on_QuitButton_pressed():
get_tree().quit()
func _on_LogoutButton_pressed():
emit_signal("logout_pressed" )