public override void Tick() { _hurtThisBeat = false; if (_currentHealth <= 0) { return; } if (_baseEnemy.IsAttackingOnBeat(_timeManager.CurrentBeat)) { _player.TakeDamage(_baseEnemy.AttackDamage(_timeManager.CurrentBeat)); } }
public override void Tick() { _hurtThisBeat = false; if (_currentHealth <= 0) { return; } if (_baseEnemy.IsAttackingOnBeat(_timeManager.CurrentBeat)) { _player.TakeDamage(_baseEnemy.AttackDamage(_timeManager.CurrentBeat)); } }