1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-24 09:04:22 +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()