// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Collections.Generic; using System.Linq; using osu.Game.Beatmaps; using osu.Game.Rulesets.Mania.Objects; using osu.Game.Rulesets.Mania.UI; namespace osu.Game.Rulesets.Mania.Beatmaps { public class ManiaBeatmap : Beatmap { /// /// The definitions for each grouping in a . /// public readonly List Groups = new List(); /// /// Total number of columns represented by all groups in this . /// public int TotalColumns => Groups.Sum(g => g.Columns); /// /// Creates a new . /// /// The initial grouping of columns. public ManiaBeatmap(GroupDefinition initialGroup) { Groups.Add(initialGroup); } } }