Enemy Hivemind became Room Manager, will probably pull out the actual enemy script at some point

This commit is contained in:
derek
2024-11-07 11:21:21 -06:00
parent fa054ad3ed
commit 168963163a
25 changed files with 283 additions and 121 deletions

View File

@@ -13,13 +13,13 @@ func _ready() -> void:
#Collect child switches
for i in self.get_children():
if i.is_in_group("switch"):
if i.is_in_group("switch_override"):
if i.switch_override:
switch_override = i
else:
switches.append(i)
print("switches " + str(switches))
print("override switches " + str(switch_override))
#print("switches " + str(switches))
#print("override switches " + str(switch_override))
func _on_switch_changed() -> void: