diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-10-02 19:23:19 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-10-02 19:23:19 +0200 |
commit | c8bd14d6feeca72fc96b895c9382ebc16a1caf55 (patch) | |
tree | 8423bdead9ce57d3dd62759cf362073ac5955eb3 /UI/hud.gd |
initial commit
Diffstat (limited to 'UI/hud.gd')
-rw-r--r-- | UI/hud.gd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/UI/hud.gd b/UI/hud.gd new file mode 100644 index 0000000..d5f7cc3 --- /dev/null +++ b/UI/hud.gd @@ -0,0 +1,7 @@ +extends CanvasLayer + + +func _ready() -> void: + Game.score_changed.connect(func(): + %Score.text = str(Game.score) + ) |