Tough_Crowd/godot/scenes/DisplayMood.gd

8 lines
238 B
GDScript3
Raw 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
# 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))