Tough_Crowd/godot/scenes/DisplayStamina.gd

8 lines
204 B
GDScript3
Raw Permalink Normal View History

2024-01-27 18:33:33 +00:00
extends Label
@onready var Tim : Comedian = get_node("../../Tim")
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
text = str(int(max(0, Tim.stamina)))