mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-22 07:44:17 +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)
|