mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-25 17:14:20 +00:00
6 lines
108 B
GDScript
6 lines
108 B
GDScript
extends Button
|
|
class_name ScoreButton
|
|
|
|
|
|
func set_score(total: int):
|
|
text = "$%0.2f" % (float(total) / 100)
|