mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Rename DHO CreateStrong{-> Nested}Hit
This commit is contained in:
parent
b1635ecd16
commit
4d444df6b3
@ -154,7 +154,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
|||||||
Content.X = DrawHeight / 2;
|
Content.X = DrawHeight / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override DrawableStrongNestedHit CreateStrongHit(StrongNestedHitObject hitObject) => new StrongNestedHit(hitObject, this);
|
protected override DrawableStrongNestedHit CreateStrongNestedHit(StrongNestedHitObject hitObject) => new StrongNestedHit(hitObject, this);
|
||||||
|
|
||||||
private void updateColour()
|
private void updateColour()
|
||||||
{
|
{
|
||||||
|
@ -61,7 +61,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
|||||||
return UpdateResult(true);
|
return UpdateResult(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override DrawableStrongNestedHit CreateStrongHit(StrongNestedHitObject hitObject) => new StrongNestedHit(hitObject, this);
|
protected override DrawableStrongNestedHit CreateStrongNestedHit(StrongNestedHitObject hitObject) => new StrongNestedHit(hitObject, this);
|
||||||
|
|
||||||
private class StrongNestedHit : DrawableStrongNestedHit
|
private class StrongNestedHit : DrawableStrongNestedHit
|
||||||
{
|
{
|
||||||
|
@ -228,7 +228,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override DrawableStrongNestedHit CreateStrongHit(StrongNestedHitObject hitObject) => new StrongNestedHit(hitObject, this);
|
protected override DrawableStrongNestedHit CreateStrongNestedHit(StrongNestedHitObject hitObject) => new StrongNestedHit(hitObject, this);
|
||||||
|
|
||||||
private class StrongNestedHit : DrawableStrongNestedHit
|
private class StrongNestedHit : DrawableStrongNestedHit
|
||||||
{
|
{
|
||||||
|
@ -93,7 +93,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
|||||||
switch (hitObject)
|
switch (hitObject)
|
||||||
{
|
{
|
||||||
case StrongNestedHitObject strong:
|
case StrongNestedHitObject strong:
|
||||||
return CreateStrongHit(strong);
|
return CreateStrongNestedHit(strong);
|
||||||
}
|
}
|
||||||
|
|
||||||
return base.CreateNestedHitObject(hitObject);
|
return base.CreateNestedHitObject(hitObject);
|
||||||
@ -105,6 +105,6 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="hitObject">The strong hitobject.</param>
|
/// <param name="hitObject">The strong hitobject.</param>
|
||||||
/// <returns>The strong hitobject handler.</returns>
|
/// <returns>The strong hitobject handler.</returns>
|
||||||
protected abstract DrawableStrongNestedHit CreateStrongHit(StrongNestedHitObject hitObject);
|
protected abstract DrawableStrongNestedHit CreateStrongNestedHit(StrongNestedHitObject hitObject);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user