2019-01-24 08:43:03 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-04-13 09:19:50 +00:00
|
|
|
|
2021-08-15 14:00:22 +00:00
|
|
|
using System;
|
2018-03-13 10:13:50 +00:00
|
|
|
using System.Collections.Generic;
|
2018-11-20 07:51:59 +00:00
|
|
|
using osuTK.Graphics;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
2018-03-13 10:13:50 +00:00
|
|
|
namespace osu.Game.Beatmaps.Formats
|
|
|
|
{
|
|
|
|
public interface IHasComboColours
|
|
|
|
{
|
2019-11-07 12:54:30 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Retrieves the list of combo colours for presentation only.
|
|
|
|
/// </summary>
|
2019-12-25 05:55:05 +00:00
|
|
|
IReadOnlyList<Color4> ComboColours { get; }
|
2019-11-07 12:54:30 +00:00
|
|
|
|
2021-08-15 14:00:22 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The list of custom combo colours.
|
|
|
|
/// If non-empty, <see cref="ComboColours"/> will return these colours;
|
|
|
|
/// if empty, <see cref="ComboColours"/> will fall back to default combo colours.
|
|
|
|
/// </summary>
|
|
|
|
List<Color4> CustomComboColours { get; }
|
|
|
|
|
2019-11-07 12:54:30 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Adds combo colours to the list.
|
|
|
|
/// </summary>
|
2021-08-15 23:01:56 +00:00
|
|
|
[Obsolete("Use CustomComboColours directly.")] // can be removed 20220215
|
2019-11-07 12:54:30 +00:00
|
|
|
void AddComboColours(params Color4[] colours);
|
2018-03-13 10:13:50 +00:00
|
|
|
}
|
|
|
|
}
|