2020-03-21 09:10:26 +00:00
|
|
|
extends Control
|
|
|
|
|
|
|
|
|
|
|
|
signal play_pressed
|
|
|
|
signal quit_pressed
|
|
|
|
|
|
|
|
func close():
|
2021-05-27 21:56:16 +00:00
|
|
|
self.hide()
|
2020-03-21 09:10:26 +00:00
|
|
|
|
|
|
|
func _on_play_pressed():
|
2021-05-27 21:56:16 +00:00
|
|
|
emit_signal( "play_pressed" )
|
2020-03-21 09:10:26 +00:00
|
|
|
|
|
|
|
func _on_quitter_pressed():
|
2021-05-27 21:56:16 +00:00
|
|
|
emit_signal( "quit_pressed" )
|
|
|
|
|
|
|
|
func _on_control_quit_pressed():
|
|
|
|
emit_signal( "quit_pressed" )
|
|
|
|
|
|
|
|
func _on_control_mute_pressed():
|
2021-06-07 21:07:44 +00:00
|
|
|
Config.msg_debug("_on_control_mute_pressed")
|
2021-05-27 21:56:16 +00:00
|
|
|
#emit_signal( "mute_pressed" )
|
|
|
|
pass
|
|
|
|
|
|
|
|
#func _on_main_menu_mute_pressed():
|
|
|
|
# Config.msg_debug("_on_main_menu_mute_pressed")
|
|
|
|
# emit_signal( "mute_pressed" )
|