7 lines
133 B
GDScript

class_name Enemy
extends Character
func _init():
controller = EnemyController.new()
add_child(controller)
controller.owner = self