conforms file names to consistant standard

This commit is contained in:
2026-02-21 04:24:04 +11:00
parent 6b67dd9755
commit 5a4ad8633a
1991 changed files with 3836 additions and 7976 deletions

View File

@@ -0,0 +1,16 @@
class_name AreaAffector
extends Affector
@export var shapecast: ShapeCast3D
func apply_effect(effect: Effect, targets: Array[EnemyController]) -> void:
if shapecast:
for i: int in shapecast.get_collision_count():
var enemy: EnemyController = shapecast.get_collider(i) as EnemyController
#print(shapecast.get_collider(i))
if targets.has(enemy):
enemy.apply_effect(effect)
else:
for enemy: EnemyController in targets:
enemy.apply_effect(effect)