Example #1
0
 public void CheckInstrument()
 {
     if (instrumentList.GetCurrentInstrument() == activeInstrument && activeInstrument != Instrument.None)
     {
         Correct();
     }
     else if (instrumentList.GetCurrentInstrument() == Instrument.None)
     {
     }
     else
     {
         Incorrect();
     }
     activeInstrument = Instrument.None;
     progressBar.UpdateProgress();
 }