2017-06-09 18:57:03 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using osu.Game.Rulesets.Mania.UI;
|
|
|
|
|
using osu.Game.Rulesets.Timing;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Mania.Mods
|
|
|
|
|
{
|
2017-06-12 14:20:34 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// A type of mod which generates speed adjustments that scroll the hit objects and bar lines.
|
|
|
|
|
/// </summary>
|
2017-06-09 18:57:03 +08:00
|
|
|
|
internal interface IGenerateSpeedAdjustments
|
|
|
|
|
{
|
2017-06-12 14:20:34 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Applies this mod to a hit renderer.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="hitRenderer">The hit renderer to apply to.</param>
|
|
|
|
|
/// <param name="hitObjectTimingChanges">The per-column list of speed adjustments for hit objects.</param>
|
|
|
|
|
/// <param name="barlineTimingChanges">The list of speed adjustments for bar lines.</param>
|
2017-06-09 18:57:03 +08:00
|
|
|
|
void ApplyToHitRenderer(ManiaHitRenderer hitRenderer, ref List<SpeedAdjustmentContainer>[] hitObjectTimingChanges, ref List<SpeedAdjustmentContainer> barlineTimingChanges);
|
|
|
|
|
}
|
|
|
|
|
}
|