mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 09:42:54 +08:00
Add nested objects to hierarchy
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()
|
||||
|
Loading…
Reference in New Issue
Block a user