A game framework written with osu! in mind.
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2// See the LICENCE file in the repository root for full licence text.
3
4namespace osu.Framework.Timing
5{
6 /// <summary>
7 /// A clock which has a source that can be changed.
8 /// </summary>
9 public interface ISourceChangeableClock : IClock
10 {
11 /// <summary>
12 /// The source clock.
13 /// </summary>
14 IClock Source { get; }
15
16 /// <summary>
17 /// Change the source clock.
18 /// </summary>
19 /// <param name="source">The new source clock.</param>
20 void ChangeSource(IClock source);
21 }
22}