2024-09-04 19:07:31 +08:00
|
|
|
// 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.Graphics.Performance;
|
|
|
|
using osuTK;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.UI.ReplayAnalysis
|
|
|
|
{
|
2024-09-04 19:25:29 +08:00
|
|
|
public partial class AnalysisFrameEntry : LifetimeEntry
|
2024-09-04 19:07:31 +08:00
|
|
|
{
|
2024-09-05 14:12:02 +08:00
|
|
|
public OsuAction[] Action { get; }
|
2024-09-04 19:25:29 +08:00
|
|
|
|
2024-09-04 19:07:31 +08:00
|
|
|
public Vector2 Position { get; }
|
|
|
|
|
2024-09-05 14:53:53 +08:00
|
|
|
public AnalysisFrameEntry(double time, double displayLength, Vector2 position, params OsuAction[] action)
|
2024-09-04 19:07:31 +08:00
|
|
|
{
|
|
|
|
LifetimeStart = time;
|
2024-09-05 14:53:53 +08:00
|
|
|
LifetimeEnd = time + displayLength;
|
2024-09-04 19:07:31 +08:00
|
|
|
Position = position;
|
2024-09-04 19:25:29 +08:00
|
|
|
Action = action;
|
2024-09-04 19:07:31 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|