mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-25 00:54:19 +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)
|