2020-10-27 12:54:33 +08: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.
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2020-10-27 12:54:33 +08:00
|
|
|
using osu.Framework.Bindables;
|
|
|
|
using osu.Framework.Timing;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.UI
|
|
|
|
{
|
2020-10-27 13:10:12 +08:00
|
|
|
public interface IFrameStableClock : IFrameBasedClock
|
2020-10-27 12:54:33 +08:00
|
|
|
{
|
2020-10-27 13:10:12 +08:00
|
|
|
IBindable<bool> IsCatchingUp { get; }
|
2020-10-27 17:13:45 +08:00
|
|
|
|
2020-11-01 22:21:24 +08:00
|
|
|
/// <summary>
|
|
|
|
/// Whether the frame stable clock is waiting on new frames to arrive to be able to progress time.
|
|
|
|
/// </summary>
|
2020-10-27 17:13:45 +08:00
|
|
|
IBindable<bool> WaitingOnFrames { get; }
|
2020-10-27 12:54:33 +08:00
|
|
|
}
|
|
|
|
}
|