// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using JetBrains.Annotations; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Game.Screens.Ranking.Statistics { /// /// An item to be displayed in a row of statistics inside the results screen. /// public class StatisticItem { /// /// The name of this item. /// public readonly string Name; /// /// The content to be displayed. /// public readonly Drawable Content; /// /// The of this row. This can be thought of as the column dimension of an encompassing . /// public readonly Dimension Dimension; /// /// Creates a new , to be displayed inside a in the results screen. /// /// The name of the item. /// The content to be displayed. /// The of this item. This can be thought of as the column dimension of an encompassing . public StatisticItem([NotNull] string name, [NotNull] Drawable content, [CanBeNull] Dimension dimension = null) { Name = name; Content = content; Dimension = dimension; } } }