mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:57:24 +08:00
Rename classes slightly
This commit is contained in:
parent
a417fec234
commit
992a0da957
@ -20,7 +20,7 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
{
|
||||
public partial class TestSceneOsuAnalysisContainer : OsuTestScene
|
||||
{
|
||||
private TestOsuAnalysisContainer analysisContainer = null!;
|
||||
private TestReplayAnalysisOverlay analysisContainer = null!;
|
||||
|
||||
[SetUpSteps]
|
||||
public void SetUpSteps()
|
||||
@ -32,7 +32,7 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
Children = new Drawable[]
|
||||
{
|
||||
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 };
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
if (HasReplayLoaded.Value)
|
||||
LoadComponentAsync(new OsuAnalysisContainer(ReplayScore.Replay, this), PlayfieldAdjustmentContainer.Add);
|
||||
LoadComponentAsync(new ReplayAnalysisOverlay(ReplayScore.Replay, this), PlayfieldAdjustmentContainer.Add);
|
||||
|
||||
base.LoadComplete();
|
||||
}
|
||||
|
@ -19,18 +19,18 @@ using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Rulesets.Osu.UI
|
||||
{
|
||||
public partial class OsuAnalysisContainer : CompositeDrawable
|
||||
public partial class ReplayAnalysisOverlay : CompositeDrawable
|
||||
{
|
||||
protected readonly HitMarkersContainer HitMarkers;
|
||||
protected readonly AimMarkersContainer AimMarkers;
|
||||
protected readonly AimLinesContainer AimLines;
|
||||
|
||||
public OsuAnalysisSettings Settings = null!;
|
||||
public ReplayAnalysisSettings Settings = null!;
|
||||
|
||||
private readonly Replay replay;
|
||||
private readonly DrawableRuleset drawableRuleset;
|
||||
|
||||
public OsuAnalysisContainer(Replay replay, DrawableRuleset drawableRuleset)
|
||||
public ReplayAnalysisOverlay(Replay replay, DrawableRuleset drawableRuleset)
|
||||
{
|
||||
this.replay = replay;
|
||||
this.drawableRuleset = drawableRuleset;
|
||||
@ -46,7 +46,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
AddInternal(Settings = new OsuAnalysisSettings());
|
||||
AddInternal(Settings = new ReplayAnalysisSettings());
|
||||
|
||||
LoadReplay();
|
||||
}
|
@ -9,7 +9,7 @@ using osu.Game.Screens.Play.PlayerSettings;
|
||||
|
||||
namespace osu.Game.Rulesets.Osu.UI
|
||||
{
|
||||
public partial class OsuAnalysisSettings : PlayerSettingsGroup
|
||||
public partial class ReplayAnalysisSettings : PlayerSettingsGroup
|
||||
{
|
||||
[SettingSource("Hit markers", SettingControlType = typeof(PlayerCheckbox))]
|
||||
public BindableBool HitMarkersEnabled { get; } = new BindableBool();
|
||||
@ -23,7 +23,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
||||
[SettingSource("Hide cursor", SettingControlType = typeof(PlayerCheckbox))]
|
||||
public BindableBool CursorHideEnabled { get; } = new BindableBool();
|
||||
|
||||
public OsuAnalysisSettings()
|
||||
public ReplayAnalysisSettings()
|
||||
: base("Analysis Settings")
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue
Block a user