//Event handler when a note is hit public void NoteHit(int value) { //Add points and increment combo _scoreManager.AddScore(value); _comboManager.AddCombo(); //Update morale. If morale above the attack threshold, attempt to execute player attack and resolve damage if (_moraleManager.NoteHit()) { if (_playerHealthManager.CanAttack()) { _enemyHealthManager.TakeDamage(_playerHealthManager.Attack()); } } }