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