mirror of
https://github.com/ppy/osu.git
synced 2026-05-23 03:59:52 +08:00
28 lines
857 B
C#
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);
|
|
}
|
|
}
|