mirror of https://github.com/ppy/osu
26 lines
736 B
C#
26 lines
736 B
C#
|
// 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.
|
||
|
|
||
|
using osu.Framework.Allocation;
|
||
|
using osu.Framework.Timing;
|
||
|
|
||
|
namespace osu.Game.Skinning
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Denotes an object which provides a reference time to start animations from.
|
||
|
/// </summary>
|
||
|
[Cached]
|
||
|
public interface IAnimationTimeReference
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// The reference clock.
|
||
|
/// </summary>
|
||
|
IFrameBasedClock Clock { get; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// The time which animations should be started from, relative to <see cref="Clock"/>.
|
||
|
/// </summary>
|
||
|
double AnimationStartTime { get; }
|
||
|
}
|
||
|
}
|