NoteActive() public method

Is a note active?
public NoteActive ( int note ) : bool
note int The note to check.
return bool
Ejemplo n.º 1
0
 /// <summary>
 /// Wait for the previously selected note to finish playing.
 /// </summary>
 public static HITResult WaitSamp(HITThread thread)
 {
     if (thread.NoteActive(thread.LastNote))
     {
         thread.PC--;
         return(HITResult.HALT);
     }
     else
     {
         return(HITResult.HALT);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Wait for the previously selected note to finish playing.
 /// </summary>
 public static HITResult WaitSamp(HITThread thread)
 {
     if (thread.NoteActive(thread.LastNote))
     {
         thread.PC--;
         return HITResult.HALT;
     }
     else
         return HITResult.HALT;
 }