// 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.Timing; namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate.Sync { /// /// Manages the synchronisation between one or more s in relation to a master clock. /// public interface ISpectatorSyncManager { /// /// The master clock which slaves should synchronise to. /// IAdjustableClock Master { get; } /// /// Adds an to manage. /// /// The to add. void AddSlave(ISpectatorSlaveClock clock); /// /// Removes an , stopping it from being managed by this . /// /// The to remove. void RemoveSlave(ISpectatorSlaveClock clock); } }