1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-25 09:04:19 +00:00
swear-jar/game/game.gd

16 lines
225 B
GDScript3
Raw Normal View History

2023-10-01 13:40:42 +00:00
extends Node2D
class_name Game
@onready var button_spawner = $ButtonSpawner
func trigger_spawn():
button_spawner.spawn()
2023-10-01 23:36:23 +00:00
signal score_changed(total: int)
func _on_score_changed(total: int):
score_changed.emit(total)