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

27 lines
504 B
GDScript3
Raw Permalink Normal View History

2020-03-21 09:10:26 +00:00
extends Control
signal play_pressed
signal quit_pressed
func close():
self.hide()
2020-03-21 09:10:26 +00:00
func _on_play_pressed():
emit_signal( "play_pressed" )
2020-03-21 09:10:26 +00:00
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" )