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

26 lines
504 B
GDScript

extends Control
signal play_pressed
signal quit_pressed
func close():
self.hide()
func _on_play_pressed():
emit_signal( "play_pressed" )
func _on_quitter_pressed():
emit_signal( "quit_pressed" )
func _on_control_quit_pressed():
emit_signal( "quit_pressed" )
func _on_control_mute_pressed():
Config.msg_debug("_on_control_mute_pressed")
#emit_signal( "mute_pressed" )
pass
#func _on_main_menu_mute_pressed():
# Config.msg_debug("_on_main_menu_mute_pressed")
# emit_signal( "mute_pressed" )