1
Fork 0
mirror of https://github.com/Steffo99/cinnos.git synced 2024-11-28 19:14:21 +00:00
cinnos/GameTimer.gd

13 lines
188 B
GDScript3
Raw Normal View History

2023-11-25 13:00:43 +00:00
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