2019-01-24 16:43:03 +08: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 17:19:50 +08:00
|
|
|
|
2021-08-15 22:00:22 +08:00
|
|
|
using System;
|
2018-03-13 18:13:50 +08:00
|
|
|
using System.Collections.Generic;
|
2018-11-20 15:51:59 +08:00
|
|
|
using osuTK.Graphics;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
2018-03-13 18:13:50 +08:00
|
|
|
namespace osu.Game.Beatmaps.Formats
|
|
|
|
{
|
|
|
|
public interface IHasComboColours
|
|
|
|
{
|
2019-11-07 20:54:30 +08:00
|
|
|
/// <summary>
|
|
|
|
/// Retrieves the list of combo colours for presentation only.
|
|
|
|
/// </summary>
|
2019-12-25 13:55:05 +08:00
|
|
|
IReadOnlyList<Color4> ComboColours { get; }
|
2019-11-07 20:54:30 +08:00
|
|
|
|
2021-08-15 22:00:22 +08: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 20:54:30 +08:00
|
|
|
/// <summary>
|
|
|
|
/// Adds combo colours to the list.
|
|
|
|
/// </summary>
|
2021-08-16 07:01:56 +08:00
|
|
|
[Obsolete("Use CustomComboColours directly.")] // can be removed 20220215
|
2019-11-07 20:54:30 +08:00
|
|
|
void AddComboColours(params Color4[] colours);
|
2018-03-13 18:13:50 +08:00
|
|
|
}
|
|
|
|
}
|