1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-12-01 20:44:21 +00:00
hella-farm/scenes/menu/main_menu.gd

16 lines
324 B
GDScript

extends Control
class_name MainMenu
## 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()