khanat-client/scenes/interfaces/main_menu/main_menu.gd

16 lines
204 B
GDScript3
Raw Normal View History

2020-03-21 09:10:26 +00:00
extends Control
signal play_pressed
signal quit_pressed
func close():
2021-01-21 21:03:44 +00:00
self.hide()
2020-03-21 09:10:26 +00:00
func _on_play_pressed():
2021-01-21 21:03:44 +00:00
emit_signal( "play_pressed" )
2020-03-21 09:10:26 +00:00
func _on_quitter_pressed():
2021-01-21 21:03:44 +00:00
emit_signal( "quit_pressed" )