1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Adjust some missed renames

This commit is contained in:
smoogipoo 2018-11-07 15:04:48 +09:00
parent c142b86fd6
commit 4277cb0d59
8 changed files with 11 additions and 11 deletions

View File

@ -14,6 +14,6 @@ namespace osu.Game.Rulesets.Osu.Tests
public class TestCaseHitCirclePlacementBlueprint : PlacementBlueprintTestCase
{
protected override DrawableHitObject CreateHitObject(HitObject hitObject) => new DrawableHitCircle((HitCircle)hitObject);
protected override PlacementBlueprint CreateMask() => new HitCirclePlacementBlueprint();
protected override PlacementBlueprint CreateBlueprint() => new HitCirclePlacementBlueprint();
}
}

View File

@ -24,6 +24,6 @@ namespace osu.Game.Rulesets.Osu.Tests
Add(drawableObject = new DrawableHitCircle(hitCircle));
}
protected override SelectionBlueprint CreateMask() => new HitCircleSelectionBlueprint(drawableObject);
protected override SelectionBlueprint CreateBlueprint() => new HitCircleSelectionBlueprint(drawableObject);
}
}

View File

@ -14,6 +14,6 @@ namespace osu.Game.Rulesets.Osu.Tests
public class TestCaseSliderPlacementBlueprint : PlacementBlueprintTestCase
{
protected override DrawableHitObject CreateHitObject(HitObject hitObject) => new DrawableSlider((Slider)hitObject);
protected override PlacementBlueprint CreateMask() => new SliderPlacementBlueprint();
protected override PlacementBlueprint CreateBlueprint() => new SliderPlacementBlueprint();
}
}

View File

@ -50,6 +50,6 @@ namespace osu.Game.Rulesets.Osu.Tests
Add(drawableObject = new DrawableSlider(slider));
}
protected override SelectionBlueprint CreateMask() => new SliderSelectionBlueprint(drawableObject);
protected override SelectionBlueprint CreateBlueprint() => new SliderSelectionBlueprint(drawableObject);
}
}

View File

@ -15,6 +15,6 @@ namespace osu.Game.Rulesets.Osu.Tests
{
protected override DrawableHitObject CreateHitObject(HitObject hitObject) => new DrawableSpinner((Spinner)hitObject);
protected override PlacementBlueprint CreateMask() => new SpinnerPlacementBlueprint();
protected override PlacementBlueprint CreateBlueprint() => new SpinnerPlacementBlueprint();
}
}

View File

@ -45,6 +45,6 @@ namespace osu.Game.Rulesets.Osu.Tests
});
}
protected override SelectionBlueprint CreateMask() => new SpinnerSelectionBlueprint(drawableSpinner) { Size = new Vector2(0.5f) };
protected override SelectionBlueprint CreateBlueprint() => new SpinnerSelectionBlueprint(drawableSpinner) { Size = new Vector2(0.5f) };
}
}

View File

@ -32,7 +32,7 @@ namespace osu.Game.Tests.Visual
[BackgroundDependencyLoader]
private void load()
{
Add(currentBlueprint = CreateMask());
Add(currentBlueprint = CreateBlueprint());
}
protected override IReadOnlyDependencyContainer CreateChildDependencies(IReadOnlyDependencyContainer parent)
@ -52,7 +52,7 @@ namespace osu.Game.Tests.Visual
hitObjectContainer.Add(CreateHitObject(hitObject));
Remove(currentBlueprint);
Add(currentBlueprint = CreateMask());
Add(currentBlueprint = CreateBlueprint());
}
public void Delete(HitObject hitObject)
@ -60,6 +60,6 @@ namespace osu.Game.Tests.Visual
}
protected abstract DrawableHitObject CreateHitObject(HitObject hitObject);
protected abstract PlacementBlueprint CreateMask();
protected abstract PlacementBlueprint CreateBlueprint();
}
}

View File

@ -29,7 +29,7 @@ namespace osu.Game.Tests.Visual
[BackgroundDependencyLoader]
private void load()
{
base.Content.Add(blueprint = CreateMask());
base.Content.Add(blueprint = CreateBlueprint());
blueprint.SelectionRequested += (_, __) => blueprint.Select();
AddStep("Select", () => blueprint.Select());
@ -42,6 +42,6 @@ namespace osu.Game.Tests.Visual
return true;
}
protected abstract SelectionBlueprint CreateMask();
protected abstract SelectionBlueprint CreateBlueprint();
}
}