1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 14:12:55 +08:00

Rename parameter

This commit is contained in:
smoogipoo 2019-10-17 12:53:54 +09:00
parent 3a1acf7b0a
commit d8f3678c3c
8 changed files with 22 additions and 22 deletions

View File

@ -25,10 +25,10 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
AddInternal(bananaContainer = new Container { RelativeSizeAxes = Axes.Both });
}
protected override void AddNested(DrawableHitObject h)
protected override void AddNested(DrawableHitObject hitObject)
{
base.AddNested(h);
bananaContainer.Add(h);
base.AddNested(hitObject);
bananaContainer.Add(hitObject);
}
protected override void ClearNested()

View File

@ -25,10 +25,10 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
AddInternal(dropletContainer = new Container { RelativeSizeAxes = Axes.Both, });
}
protected override void AddNested(DrawableHitObject h)
protected override void AddNested(DrawableHitObject hitObject)
{
base.AddNested(h);
dropletContainer.Add(h);
base.AddNested(hitObject);
dropletContainer.Add(hitObject);
}
protected override void ClearNested()

View File

@ -59,11 +59,11 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
}, true);
}
protected override void AddNested(DrawableHitObject h)
protected override void AddNested(DrawableHitObject hitObject)
{
base.AddNested(h);
base.AddNested(hitObject);
switch (h)
switch (hitObject)
{
case DrawableHeadNote head:
headContainer.Child = head;

View File

@ -93,11 +93,11 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
}, true);
}
protected override void AddNested(DrawableHitObject h)
protected override void AddNested(DrawableHitObject hitObject)
{
base.AddNested(h);
base.AddNested(hitObject);
switch (h)
switch (hitObject)
{
case DrawableSliderHead head:
headContainer.Child = HeadCircle = head;

View File

@ -55,11 +55,11 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
OnNewResult += onNewResult;
}
protected override void AddNested(DrawableHitObject h)
protected override void AddNested(DrawableHitObject hitObject)
{
base.AddNested(h);
base.AddNested(hitObject);
switch (h)
switch (hitObject)
{
case DrawableDrumRollTick tick:
tickContainer.Add(tick);

View File

@ -128,11 +128,11 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
Width *= Parent.RelativeChildSize.X;
}
protected override void AddNested(DrawableHitObject h)
protected override void AddNested(DrawableHitObject hitObject)
{
base.AddNested(h);
base.AddNested(hitObject);
switch (h)
switch (hitObject)
{
case DrawableSwellTick tick:
ticks.Add(tick);

View File

@ -134,11 +134,11 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
AddInternal(strongHitContainer = new Container<DrawableStrongNestedHit>());
}
protected override void AddNested(DrawableHitObject h)
protected override void AddNested(DrawableHitObject hitObject)
{
base.AddNested(h);
base.AddNested(hitObject);
switch (h)
switch (hitObject)
{
case DrawableStrongNestedHit strong:
strongHitContainer.Add(strong);

View File

@ -157,7 +157,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
}
}
protected virtual void AddNested(DrawableHitObject h)
protected virtual void AddNested(DrawableHitObject hitObject)
{
}