mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
9 lines
179 B
GDScript3
9 lines
179 B
GDScript3
|
extends Label
|
||
|
|
||
|
func _ready():
|
||
|
GameStats.connect("score_changed", self, "update_score_text")
|
||
|
text = String(GameStats.score)
|
||
|
|
||
|
func update_score_text(value):
|
||
|
text = String(value)
|