2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-06-09 18:57:03 +08:00
|
|
|
|
// 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>
|
2017-08-09 12:28:29 +08:00
|
|
|
|
/// <param name="rulesetContainer">The hit renderer to apply to.</param>
|
2017-06-12 14:20:34 +08:00
|
|
|
|
/// <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-08-09 12:28:29 +08:00
|
|
|
|
void ApplyToRulesetContainer(ManiaRulesetContainer rulesetContainer, ref List<SpeedAdjustmentContainer>[] hitObjectTimingChanges, ref List<SpeedAdjustmentContainer> barlineTimingChanges);
|
2017-06-09 18:57:03 +08:00
|
|
|
|
}
|
|
|
|
|
}
|