TowerDefense/UI/label_tower_on_terrain.gd

8 lines
201 B
GDScript3
Raw Normal View History

2025-08-26 19:26:36 +02:00
extends Label
func _ready() -> void:
EventBus.team_in_action_changed.connect(_on_EventBus_team_in_action_changed)
2025-08-30 00:46:34 +02:00
func _on_EventBus_team_in_action_changed(_value : int) -> void:
text = str(_value)