Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ppy
GitHub Repository: ppy/osu
Path: blob/master/osu.Game.Rulesets.Osu/UI/ReplayAnalysis/AnalysisFrameEntry.cs
4458 views
// Copyright (c) ppy Pty Ltd <[email protected]>. 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
{
    public partial class AnalysisFrameEntry : LifetimeEntry
    {
        public OsuAction[] Action { get; }

        public Vector2 Position { get; }

        public AnalysisFrameEntry(double time, double displayLength, Vector2 position, params OsuAction[] action)
        {
            LifetimeStart = time;
            LifetimeEnd = time + displayLength;
            Position = position;
            Action = action;
        }
    }
}