2017-06-19 09:54:23 +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 osu.Framework.Configuration;
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Objects.Drawables
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// An interface that exposes properties required for scrolling hit objects to be properly displayed.
|
|
|
|
/// </summary>
|
2017-08-07 15:02:38 +08:00
|
|
|
internal interface IScrollingHitObject : IDrawable
|
2017-06-19 09:54:23 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Time offset before the hit object start time at which this <see cref="IScrollingHitObject"/> becomes visible and the time offset
|
|
|
|
/// after the hit object's end time after which it expires.
|
|
|
|
///
|
|
|
|
/// <para>
|
|
|
|
/// This provides only a default life time range, however classes inheriting from <see cref="IScrollingHitObject"/> should override
|
|
|
|
/// their life times if more tight control is desired.
|
|
|
|
/// </para>
|
|
|
|
/// </summary>
|
|
|
|
BindableDouble LifetimeOffset { get; }
|
2017-08-07 15:02:38 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Axes which this <see cref="IScrollingHitObject"/> will scroll through.
|
|
|
|
/// This is set by the container which this scrolls through.
|
|
|
|
/// </summary>
|
|
|
|
Axes ScrollingAxes { set; }
|
2017-06-19 09:54:23 +08:00
|
|
|
}
|
|
|
|
}
|