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-04 19:25:29 +08:00
|
|
|
public OsuAction? Action { get; }
|
|
|
|
|
2024-09-04 19:07:31 +08:00
|
|
|
public Vector2 Position { get; }
|
|
|
|
|
2024-09-04 19:25:29 +08:00
|
|
|
public AnalysisFrameEntry(double time, Vector2 position, OsuAction? action = null)
|
2024-09-04 19:07:31 +08:00
|
|
|
{
|
|
|
|
LifetimeStart = time;
|
|
|
|
LifetimeEnd = time + 1_000;
|
|
|
|
Position = position;
|
2024-09-04 19:25:29 +08:00
|
|
|
Action = action;
|
2024-09-04 19:07:31 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|