1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-07 05:47:18 +08:00
osu-lazer/osu.Game/Storyboards/IStoryboardElementWithDuration.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
715 B
C#
Raw Normal View History

// 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.
2022-06-17 16:37:17 +09:00
#nullable disable
namespace osu.Game.Storyboards
{
/// <summary>
2021-04-18 06:35:54 +03:00
/// A <see cref="IStoryboardElement"/> that ends at a different time than its start time.
/// </summary>
public interface IStoryboardElementWithDuration : IStoryboardElement
{
2021-04-18 06:35:54 +03:00
/// <summary>
/// The time at which the <see cref="IStoryboardElement"/> ends.
/// </summary>
double EndTime { get; }
/// <summary>
/// The duration of the StoryboardElement.
/// </summary>
2021-05-04 16:04:59 +09:00
double Duration => EndTime - StartTime;
}
}