private void Attack() { _timer = 0f; if (_playerHealth.CurrentHealth > 0) { _playerHealth.TakeDamage(AttackDamage); } }
public void Damage() { _playerHealth.TakeDamage(damageAmount); }