1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-25 09:04:19 +00:00
swear-jar/score/scoreboard.gd
2023-10-01 16:26:50 +02:00

14 lines
242 B
GDScript

extends Control
class_name ScoreBoard
@export var score: int = 0
func _ready():
$Label.text = "Score: " + str(score)
func _process(delta):
pass
func _on_evaluator_score_changed(total_value):
$Label.text = "Score: " + str(total_value)