Beispiel #1
0
 private static void ProcessBasicNotesInTimeRow(List <NoteData> notes, float nextRowTime)
 {
     if (notes.Count == 2)
     {
         NoteData noteData  = notes[0];
         NoteData noteData2 = notes[1];
         if (noteData.noteType != noteData2.noteType && ((noteData.noteType == NoteType.NoteA && noteData.lineIndex > noteData2.lineIndex) || (noteData.noteType == NoteType.NoteB && noteData.lineIndex < noteData2.lineIndex)))
         {
             noteData.SetNoteFlipToNote(noteData2);
             noteData2.SetNoteFlipToNote(noteData);
         }
     }
     for (int i = 0; i < notes.Count; i++)
     {
         notes[i].timeToNextBasicNote = nextRowTime - notes[i].time;
     }
 }