2018-06-08 20:41:20 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Framework.Configuration;
|
|
|
|
|
using osu.Game.Rulesets.Objects;
|
2018-11-07 15:51:28 +08:00
|
|
|
|
using osu.Game.Rulesets.UI.Scrolling.Algorithms;
|
2018-06-08 20:41:20 +08:00
|
|
|
|
|
2018-11-06 12:58:38 +08:00
|
|
|
|
namespace osu.Game.Rulesets.UI.Scrolling
|
2018-06-08 20:41:20 +08:00
|
|
|
|
{
|
|
|
|
|
public interface IScrollingInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The direction <see cref="HitObject"/>s should scroll in.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IBindable<ScrollingDirection> Direction { get; }
|
2018-11-07 15:51:28 +08:00
|
|
|
|
|
2018-11-07 16:24:05 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
IBindable<double> TimeRange { get; }
|
|
|
|
|
|
2018-11-07 15:51:28 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The algorithm which controls <see cref="HitObject"/> positions and sizes.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IScrollAlgorithm Algorithm { get; }
|
2018-06-08 20:41:20 +08:00
|
|
|
|
}
|
|
|
|
|
}
|