Tough_Crowd/godot/scenes/DisplayMood.gd

9 lines
239 B
GDScript3
Raw Permalink Normal View History

2024-01-27 18:33:33 +00:00
extends Label
2024-01-27 20:10:50 +00:00
@onready var crowd_controller: Crowd = get_node("/root/IngameScene/Crowd")
2024-01-27 18:33:33 +00:00
2024-01-27 18:33:33 +00:00
# Called every frame. 'delta' is the elapsed time since the previous frame.
2024-01-27 20:10:50 +00:00
func _process(_delta):
text = str(int(crowd_controller.overall_mood))