1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-17 22:02:56 +08:00
osu-lazer/osu.Game/Beatmaps/IBeatmapProcessor.cs

25 lines
879 B
C#
Raw Normal View History

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Modes.Objects;
namespace osu.Game.Beatmaps
{
/// <summary>
/// Processes a post-converted Beatmap.
/// </summary>
2017-03-16 15:55:08 +08:00
/// <typeparam name="TObject">The type of HitObject contained in the Beatmap.</typeparam>
public interface IBeatmapProcessor<TObject>
where TObject : HitObject
{
/// <summary>
/// Post-processes a Beatmap to add mode-specific components that aren't added during conversion.
/// <para>
/// An example of such a usage is for combo colours.
/// </para>
/// </summary>
/// <param name="beatmap">The Beatmap to process.</param>
2017-03-16 15:55:08 +08:00
void PostProcess(Beatmap<TObject> beatmap);
}
}