Cascade.MusicPanel.IsBeingTouchedChanged C# (CSharp) Method

IsBeingTouchedChanged() private method

private IsBeingTouchedChanged ( bool touched ) : void
touched bool
return void
        void IsBeingTouchedChanged(bool touched)
        {
            if (touched)
            {
                clearColor.Animate(new Color(170, 230, 245), 10);
                timer.Stop();
                timer.Start();
                waitingForTimer = true;
            }
            else
            {
                if (note != null)
                {
                    note.FadeOut(0.04f, 0.001f);
                    //allIds.Clear();
                }
                //idList.Clear();
                //timer.Stop();
                
                numFingers = 0;
            }
        }