mirror of
https://github.com/ppy/osu.git
synced 2024-11-16 09:17:48 +08:00
4d669c56a2
Uses pooling for all analysis objects and creates the lifetime entries from replay data when the analysis container is constructed.
22 lines
646 B
C#
22 lines
646 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.Game.Replays;
|
|
using osu.Game.Rulesets.UI;
|
|
|
|
namespace osu.Game.Screens.Play.PlayerSettings
|
|
{
|
|
public abstract partial class AnalysisSettings : PlayerSettingsGroup
|
|
{
|
|
protected DrawableRuleset DrawableRuleset;
|
|
|
|
public AnalysisSettings(DrawableRuleset drawableRuleset)
|
|
: base("Analysis Settings")
|
|
{
|
|
DrawableRuleset = drawableRuleset;
|
|
}
|
|
|
|
public abstract AnalysisContainer CreateAnalysisContainer(Replay replay);
|
|
}
|
|
}
|