mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 14:12:55 +08:00
Rename parameter
This commit is contained in:
parent
3a1acf7b0a
commit
d8f3678c3c
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -157,7 +157,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void AddNested(DrawableHitObject h)
|
||||
protected virtual void AddNested(DrawableHitObject hitObject)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user