2019-01-24 08:43:03 +00: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-06-08 12:41:20 +00:00
|
|
|
|
|
2019-02-21 10:04:31 +00:00
|
|
|
|
using osu.Framework.Bindables;
|
2018-06-08 12:41:20 +00:00
|
|
|
|
using osu.Game.Rulesets.Objects;
|
2018-11-07 07:51:28 +00:00
|
|
|
|
using osu.Game.Rulesets.UI.Scrolling.Algorithms;
|
2018-06-08 12:41:20 +00:00
|
|
|
|
|
2018-11-06 04:58:38 +00:00
|
|
|
|
namespace osu.Game.Rulesets.UI.Scrolling
|
2018-06-08 12:41:20 +00:00
|
|
|
|
{
|
|
|
|
|
public interface IScrollingInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The direction <see cref="HitObject"/>s should scroll in.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IBindable<ScrollingDirection> Direction { get; }
|
2018-11-07 07:51:28 +00:00
|
|
|
|
|
2018-11-07 08:24:05 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
IBindable<double> TimeRange { get; }
|
|
|
|
|
|
2018-11-07 07:51:28 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The algorithm which controls <see cref="HitObject"/> positions and sizes.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IScrollAlgorithm Algorithm { get; }
|
2018-06-08 12:41:20 +00:00
|
|
|
|
}
|
|
|
|
|
}
|