TowerDefense/UI/label_tower_in_cube.gd

8 lines
195 B
GDScript3
Raw Normal View History

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