Tough_Crowd/godot/scenes/DisplayStamina.gd

8 lines
204 B
GDScript

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)))