1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 09:42:54 +08:00

Add nested objects to hierarchy

Dan Balasescu 2020-10-01 20:04:00 +09:00
parent cbfb489b40
commit 7f4385c5a0

@ -178,11 +178,12 @@ public class ScorePaddingObject : HitObject
public class MyDrawableHitObject : DrawableHitObject<MyHitObject>
{
private readonly List<DrawableScorePaddingObject> paddingObjects = new List<DrawableScorePaddingObject>();
private readonly Container<DrawableScorePaddingObject> paddingObjects;
public MyDrawableHitObject(MyHitObject hitObject)
: base(hitObject)
{
AddInternal(paddingObjects = new Container<DrawableScorePaddingObject>());
}
protected override void ClearNestedHitObjects()