// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Framework.Timing; namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate { /// /// A clock which is used by s and managed by an . /// public interface ISpectatorPlayerClock : IFrameBasedClock, IAdjustableClock { /// /// Starts this . /// new void Start(); /// /// Stops this . /// new void Stop(); /// /// Whether this clock is waiting on frames to continue playback. /// Bindable WaitingOnFrames { get; } /// /// Whether this clock is behind the master clock and running at a higher rate to catch up to it. /// /// /// Of note, this will be false if this clock is *ahead* of the master clock. /// bool IsCatchingUp { get; set; } } }