Compare commits

..

1 commit

Author SHA1 Message Date
Varylios
c5799d47e2 refactor: improve spawning logic 2025-08-27 01:31:09 +02:00
2 changed files with 18 additions and 0 deletions

17
Towers/TowerList.gd Normal file
View file

@ -0,0 +1,17 @@
extends Node3D
class_name TowerList
enum TOWERS { PIERRE, ALINE, MAXENCE, VICTORIA, EVAN, ALEX }
func _ready() -> void:
child_entered_tree.connect(_on_child_entered_tree)
child_exiting_tree.connect(_on_child_exiting_tree)
func _on_child_entered_tree(child):
#EventBus.tower_count_changed.emit(get_children().count())
pass
func _on_child_exiting_tree(child):
#EventBus.team_in_action_changed.emit(get_children().count())
pass

1
Towers/TowerList.gd.uid Normal file
View file

@ -0,0 +1 @@
uid://cinbnfxcyrfsr