Exemplo n.º 1
0
        public BeatmapSet(string aBeatmapSetPath)
        {
            Track mapsetTrack = new Track("Parsing mapset \"" + PathStatic.CutPath(aBeatmapSetPath) + "\"...");

            beatmaps = new List <Beatmap>();
            osb      = null;
            songPath = aBeatmapSetPath;

            Initalize(aBeatmapSetPath);

            Track hsTrack = new Track("Finding hit sound files...");

            hitSoundFiles = GetUsedHitSoundFiles().ToList();
            hsTrack.Complete();

            beatmaps = beatmaps.OrderBy(aBeatmap => aBeatmap.GetDifficulty(true)).ThenBy(aBeatmap => aBeatmap.starRating).ToList();

            mapsetTrack.Complete();
        }