mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Implement Duration via the interface
This commit is contained in:
@ -16,6 +16,6 @@ namespace osu.Game.Storyboards
|
||||
/// <summary>
|
||||
/// The duration of the StoryboardElement.
|
||||
/// </summary>
|
||||
double Duration { get; }
|
||||
double Duration => EndTime - StartTime;
|
||||
}
|
||||
}
|
||||
|
@ -65,8 +65,6 @@ namespace osu.Game.Storyboards
|
||||
}
|
||||
}
|
||||
|
||||
public double Duration => EndTime - StartTime;
|
||||
|
||||
public bool HasCommands => TimelineGroup.HasCommands || loops.Any(l => l.HasCommands);
|
||||
|
||||
private delegate void DrawablePropertyInitializer<in T>(Drawable drawable, T value);
|
||||
|
Reference in New Issue
Block a user