public void Setup(EnemyObject enemy) { _baseEnemy = enemy; enemy.ParseAttackPattern(); _currentHealth = enemy.MaxHealth; _hurtThisBeat = false; OnEnemySpawned?.Invoke(); }
public void Setup(EnemyObject enemy) { _baseEnemy = enemy; enemy.ParseAttackPattern(); _currentHealth = enemy.MaxHealth; _hurtThisBeat = false; OnEnemySpawned?.Invoke(); }