1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-16 07:12:49 +08:00
osu-lazer/osu.Game.Rulesets.Osu/UI/ReplayAnalysis/AnalysisFrameEntry.cs

24 lines
664 B
C#
Raw Normal View History

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