예제 #1
0
    /// <summary>
    /// Called when a music group unmutes the incorrect track, after it previously had unmuted the correct one
    /// </summary>
    void IncorrectTrack()
    {
        //decrement correct track
        numCorrectTracks--;

        //tell the tree to stop dancing
        tree.StopDancing();

        //If there are no longer 3 correct tracks
        if (numCorrectTracks != 3)
        {
            //Deactivate all sliders
            drumTablet.DeactivateSlider();
            pianoTablet.DeactivateSlider();
            guitarTablet.DeactivateSlider();

            matState = MatState.Decreasing;
        }
    }