This commit is contained in:
2020-11-04 22:34:00 +01:00
parent 056e346a96
commit b64430e10b
14 changed files with 326 additions and 131 deletions

2
Gui.gd
View File

@@ -4,7 +4,7 @@ onready var lap_counter = get_node("Laps/Value")
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
Global.connect("laps_changed", self, "_on_lap_completed")
func _on_lap_completed(laps):
lap_counter.set_text("%d" % laps)