/**
  * Processes the player's tap.
  * @param diff     The time difference between the player's tap and the intended beat.
  **/
 void Tap(int diff)
 {
     isHittable = false;
     rip.updateScore(getQuality(diff), this);
     if ((getQuality(diff) != 0 || isHeldNote) || (getQuality(diff) == 0 && isHeld))
     {
         isHit = true;
         StartCoroutine(hitAnimation());
     }
     if (getQuality(diff) != 0)
     {
         rip.playHit(pos);
     }
 }