1
Fork 0
mirror of https://github.com/Steffo99/cinnos.git synced 2024-11-25 09:34:21 +00:00
cinnos/GameTimer.gd
2023-11-25 14:00:43 +01:00

12 lines
188 B
GDScript

extends Node
class_name GameTimer
var current_time := 0.0
@onready var parent: Label = get_parent()
func _process(delta):
current_time += delta
parent.text = "%0.2f" % current_time