Ejemplo n.º 1
0
 public Beatmap()
 {
     GeneralSection    = new BeatmapGeneralSection();
     EditorSection     = new BeatmapEditorSection();
     MetadataSection   = new BeatmapMetadataSection();
     DifficultySection = new BeatmapDifficultySection();
     EventsSection     = new BeatmapEventsSection();
     ColoursSection    = new BeatmapColoursSection();
 }
Ejemplo n.º 2
0
        public static List <string> EditorSection(BeatmapEditorSection section)
        {
            var list = WriteHelper.BaseListFormat("Editor");

            if (section.Bookmarks != null)
            {
                list.Add("Bookmarks: " + section.BookmarksString);
            }

            list.AddRange(new List <string>
            {
                "DistanceSpacing: " + section.DistanceSpacing.Format(),
                "BeatDivisor: " + section.BeatDivisor.Format(),
                "GridSize: " + section.GridSize.Format(),
                "TimelineZoom: " + section.TimelineZoom.Format(),
            });

            return(list);
        }