mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-28 18:34:18 +00:00
7 lines
108 B
GDScript3
7 lines
108 B
GDScript3
|
extends Button
|
||
|
class_name ScoreButton
|
||
|
|
||
|
|
||
|
func set_score(total: int):
|
||
|
text = "$%0.2f" % (float(total) / 100)
|