1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 03:59:52 +08:00
Files
osu-lazer/osu.Game/Rulesets/UI/AnalysisContainer.cs
T
2024-09-04 03:37:52 -04:00

28 lines
857 B
C#

// 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.Containers;
using osu.Game.Replays;
using osu.Game.Screens.Play.PlayerSettings;
namespace osu.Game.Rulesets.UI
{
public abstract partial class AnalysisContainer : Container
{
protected Replay Replay;
protected DrawableRuleset DrawableRuleset;
public AnalysisSettings AnalysisSettings;
protected AnalysisContainer(Replay replay, DrawableRuleset drawableRuleset)
{
Replay = replay;
DrawableRuleset = drawableRuleset;
AnalysisSettings = CreateAnalysisSettings(drawableRuleset.Ruleset);
}
protected abstract AnalysisSettings CreateAnalysisSettings(Ruleset ruleset);
}
}