2024-09-04 11:07:31 +00: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 11:25:29 +00:00
|
|
|
public partial class AnalysisFrameEntry : LifetimeEntry
|
2024-09-04 11:07:31 +00:00
|
|
|
{
|
2024-09-05 06:12:02 +00:00
|
|
|
public OsuAction[] Action { get; }
|
2024-09-04 11:25:29 +00:00
|
|
|
|
2024-09-04 11:07:31 +00:00
|
|
|
public Vector2 Position { get; }
|
|
|
|
|
2024-09-05 06:12:02 +00:00
|
|
|
public AnalysisFrameEntry(double time, Vector2 position, params OsuAction[] action)
|
2024-09-04 11:07:31 +00:00
|
|
|
{
|
|
|
|
LifetimeStart = time;
|
|
|
|
LifetimeEnd = time + 1_000;
|
|
|
|
Position = position;
|
2024-09-04 11:25:29 +00:00
|
|
|
Action = action;
|
2024-09-04 11:07:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|