1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-28 18:34:18 +00:00
swear-jar/interface/score_button.gd
2023-10-02 01:36:23 +02:00

6 lines
108 B
GDScript

extends Button
class_name ScoreButton
func set_score(total: int):
text = "$%0.2f" % (float(total) / 100)