// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Timing { /// /// A clock that can be started, stopped, reset etc. /// public interface IAdjustableClock : IClock { /// /// Stop and reset position. /// void Reset(); /// /// Start (resume) running. /// void Start(); /// /// Stop (pause) running. /// void Stop(); /// /// Seek to a specific time position. /// /// Whether a seek was possible. bool Seek(double position); /// /// The rate this clock is running at, relative to real-time. /// new double Rate { get; set; } /// /// Reset the rate to a stable value. /// void ResetSpeedAdjustments(); } }