1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-24 17:14:23 +00:00
hella-farm/scenes/menu/main_menu.gd

17 lines
324 B
GDScript3
Raw Normal View History

2024-04-13 02:04:43 +00:00
extends Control
class_name MainMenu
2024-04-13 03:29:43 +00:00
## Emitted when the player has clicked on the Play button.
signal selected_play
## Emitted when the player has clicked on the Options button.
signal selected_options
func _on_play_pressed() -> void:
selected_play.emit()
func _on_options_pressed() -> void:
selected_options.emit()