Compare commits
1 commit
506b4a8a70
...
c5799d47e2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5799d47e2 |
2 changed files with 18 additions and 0 deletions
17
Towers/TowerList.gd
Normal file
17
Towers/TowerList.gd
Normal 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
1
Towers/TowerList.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://cinbnfxcyrfsr
|
||||
Loading…
Add table
Reference in a new issue