mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Implement Duration via the interface
This commit is contained in:
@ -16,6 +16,6 @@ namespace osu.Game.Storyboards
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The duration of the StoryboardElement.
|
/// The duration of the StoryboardElement.
|
||||||
/// </summary>
|
/// </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);
|
public bool HasCommands => TimelineGroup.HasCommands || loops.Any(l => l.HasCommands);
|
||||||
|
|
||||||
private delegate void DrawablePropertyInitializer<in T>(Drawable drawable, T value);
|
private delegate void DrawablePropertyInitializer<in T>(Drawable drawable, T value);
|
||||||
|
Reference in New Issue
Block a user