Exemplo n.º 1
0
 //결과 화면에서 쓰일 그림
 public Texture2D FindPicture(NoteFile noteFile)
 {
     Texture2D picture = null;
     int i ;
     for (i = 0; i < noteFileManager.noteFiles.Count; i++)
     {
         if (noteFileManager.noteFiles[i] == noteFile)
         {
             picture = pictures[i];
             i = noteFileManager.noteFiles.Count;
         }
     }
     return picture;
 }
 public void Add(
     String fileName,
 String version,
     int level,
 String name,
 String artist,
 String mp3,
 String picture,
 double startTime,
 double endTime,
 int bpm)
 
 {
     NoteFile noteFile = new NoteFile(fileName,version, level, name, artist, mp3, picture, startTime, endTime, bpm);
     noteFiles.Add(noteFile);  
 }