1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 02:17:46 +08:00

Rename classes slightly

This commit is contained in:
Dean Herbert 2024-09-04 18:43:33 +09:00
parent a417fec234
commit 992a0da957
No known key found for this signature in database
4 changed files with 11 additions and 11 deletions

View File

@ -20,7 +20,7 @@ namespace osu.Game.Rulesets.Osu.Tests
{ {
public partial class TestSceneOsuAnalysisContainer : OsuTestScene public partial class TestSceneOsuAnalysisContainer : OsuTestScene
{ {
private TestOsuAnalysisContainer analysisContainer = null!; private TestReplayAnalysisOverlay analysisContainer = null!;
[SetUpSteps] [SetUpSteps]
public void SetUpSteps() public void SetUpSteps()
@ -32,7 +32,7 @@ namespace osu.Game.Rulesets.Osu.Tests
Children = new Drawable[] Children = new Drawable[]
{ {
drawableRuleset, drawableRuleset,
analysisContainer = new TestOsuAnalysisContainer(fabricateReplay(), drawableRuleset), analysisContainer = new TestReplayAnalysisOverlay(fabricateReplay(), drawableRuleset),
}; };
}); });
} }
@ -96,9 +96,9 @@ namespace osu.Game.Rulesets.Osu.Tests
return new Replay { Frames = frames }; return new Replay { Frames = frames };
} }
private partial class TestOsuAnalysisContainer : OsuAnalysisContainer private partial class TestReplayAnalysisOverlay : ReplayAnalysisOverlay
{ {
public TestOsuAnalysisContainer(Replay replay, DrawableRuleset drawableRuleset) public TestReplayAnalysisOverlay(Replay replay, DrawableRuleset drawableRuleset)
: base(replay, drawableRuleset) : base(replay, drawableRuleset)
{ {
} }

View File

@ -39,7 +39,7 @@ namespace osu.Game.Rulesets.Osu.UI
protected override void LoadComplete() protected override void LoadComplete()
{ {
if (HasReplayLoaded.Value) if (HasReplayLoaded.Value)
LoadComponentAsync(new OsuAnalysisContainer(ReplayScore.Replay, this), PlayfieldAdjustmentContainer.Add); LoadComponentAsync(new ReplayAnalysisOverlay(ReplayScore.Replay, this), PlayfieldAdjustmentContainer.Add);
base.LoadComplete(); base.LoadComplete();
} }

View File

@ -19,18 +19,18 @@ using osuTK.Graphics;
namespace osu.Game.Rulesets.Osu.UI namespace osu.Game.Rulesets.Osu.UI
{ {
public partial class OsuAnalysisContainer : CompositeDrawable public partial class ReplayAnalysisOverlay : CompositeDrawable
{ {
protected readonly HitMarkersContainer HitMarkers; protected readonly HitMarkersContainer HitMarkers;
protected readonly AimMarkersContainer AimMarkers; protected readonly AimMarkersContainer AimMarkers;
protected readonly AimLinesContainer AimLines; protected readonly AimLinesContainer AimLines;
public OsuAnalysisSettings Settings = null!; public ReplayAnalysisSettings Settings = null!;
private readonly Replay replay; private readonly Replay replay;
private readonly DrawableRuleset drawableRuleset; private readonly DrawableRuleset drawableRuleset;
public OsuAnalysisContainer(Replay replay, DrawableRuleset drawableRuleset) public ReplayAnalysisOverlay(Replay replay, DrawableRuleset drawableRuleset)
{ {
this.replay = replay; this.replay = replay;
this.drawableRuleset = drawableRuleset; this.drawableRuleset = drawableRuleset;
@ -46,7 +46,7 @@ namespace osu.Game.Rulesets.Osu.UI
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
AddInternal(Settings = new OsuAnalysisSettings()); AddInternal(Settings = new ReplayAnalysisSettings());
LoadReplay(); LoadReplay();
} }

View File

@ -9,7 +9,7 @@ using osu.Game.Screens.Play.PlayerSettings;
namespace osu.Game.Rulesets.Osu.UI namespace osu.Game.Rulesets.Osu.UI
{ {
public partial class OsuAnalysisSettings : PlayerSettingsGroup public partial class ReplayAnalysisSettings : PlayerSettingsGroup
{ {
[SettingSource("Hit markers", SettingControlType = typeof(PlayerCheckbox))] [SettingSource("Hit markers", SettingControlType = typeof(PlayerCheckbox))]
public BindableBool HitMarkersEnabled { get; } = new BindableBool(); public BindableBool HitMarkersEnabled { get; } = new BindableBool();
@ -23,7 +23,7 @@ namespace osu.Game.Rulesets.Osu.UI
[SettingSource("Hide cursor", SettingControlType = typeof(PlayerCheckbox))] [SettingSource("Hide cursor", SettingControlType = typeof(PlayerCheckbox))]
public BindableBool CursorHideEnabled { get; } = new BindableBool(); public BindableBool CursorHideEnabled { get; } = new BindableBool();
public OsuAnalysisSettings() public ReplayAnalysisSettings()
: base("Analysis Settings") : base("Analysis Settings")
{ {
} }