1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-22 15:44:21 +00:00
swear-jar/interface/score_button.gd

7 lines
108 B
GDScript3
Raw Normal View History

2023-10-01 23:36:23 +00:00
extends Button
class_name ScoreButton
func set_score(total: int):
text = "$%0.2f" % (float(total) / 100)