mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-25 09:04:19 +00:00
21 lines
449 B
GDScript
21 lines
449 B
GDScript
extends VBoxContainer
|
|
class_name GameUI
|
|
|
|
## Emitted when the Score button is pressed.
|
|
signal score_button_pressed
|
|
|
|
## Emitted when the Spawn button is pressed.
|
|
signal spawn_button_pressed
|
|
|
|
## Emitted when the Shop button is presesd.
|
|
signal shop_button_pressed
|
|
|
|
|
|
func _on_score_button_pressed():
|
|
score_button_pressed.emit()
|
|
|
|
func _on_spawn_button_pressed():
|
|
spawn_button_pressed.emit()
|
|
|
|
func _on_shop_button_pressed():
|
|
shop_button_pressed.emit()
|