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