1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 10:02:59 +08:00

Rename methods

This commit is contained in:
smoogipoo 2020-11-20 15:39:25 +09:00
parent 33eea64cfc
commit 2ed2ddfe8a
3 changed files with 6 additions and 6 deletions

View File

@ -182,7 +182,7 @@ namespace osu.Game.Rulesets.Osu.Tests
} }
hitObjectContainer.Add(drawableObject); hitObjectContainer.Add(drawableObject);
followPointRenderer.AddFollowPoints2(objects[i]); followPointRenderer.AddFollowPoints(objects[i]);
} }
}); });
} }
@ -194,7 +194,7 @@ namespace osu.Game.Rulesets.Osu.Tests
var drawableObject = getFunc.Invoke(); var drawableObject = getFunc.Invoke();
hitObjectContainer.Remove(drawableObject); hitObjectContainer.Remove(drawableObject);
followPointRenderer.RemoveFollowPoints2(drawableObject.HitObject); followPointRenderer.RemoveFollowPoints(drawableObject.HitObject);
}); });
} }

View File

@ -51,7 +51,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
MakeChildAlive(pointPool); MakeChildAlive(pointPool);
} }
public void AddFollowPoints2(OsuHitObject hitObject) public void AddFollowPoints(OsuHitObject hitObject)
{ {
addEntry(hitObject); addEntry(hitObject);
@ -60,7 +60,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
startTimeMap[hitObject] = startTimeBindable; startTimeMap[hitObject] = startTimeBindable;
} }
public void RemoveFollowPoints2(OsuHitObject hitObject) public void RemoveFollowPoints(OsuHitObject hitObject)
{ {
removeEntry(hitObject); removeEntry(hitObject);

View File

@ -125,13 +125,13 @@ namespace osu.Game.Rulesets.Osu.UI
protected override void OnHitObjectAdded(HitObject hitObject) protected override void OnHitObjectAdded(HitObject hitObject)
{ {
base.OnHitObjectAdded(hitObject); base.OnHitObjectAdded(hitObject);
followPoints.AddFollowPoints2((OsuHitObject)hitObject); followPoints.AddFollowPoints((OsuHitObject)hitObject);
} }
protected override void OnHitObjectRemoved(HitObject hitObject) protected override void OnHitObjectRemoved(HitObject hitObject)
{ {
base.OnHitObjectRemoved(hitObject); base.OnHitObjectRemoved(hitObject);
followPoints.RemoveFollowPoints2((OsuHitObject)hitObject); followPoints.RemoveFollowPoints((OsuHitObject)hitObject);
} }
public void OnHitObjectLoaded(Drawable drawable) public void OnHitObjectLoaded(Drawable drawable)