1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-08 12:23:21 +08:00
osu-lazer/osu.Game/Rulesets/Objects/Pooling
ekrctb d262956146 Always use LifetimeEntry to manage hit objects in HitObjectContainer
Previously, non-pooled DHOs were immediately added as children of the HOC when Add is called. Also, non-pooled DHOs were always attached to the HOC as children.
New behavior is that non-pooled DHOs are only added after CheckChildLifetime, and only attached to the HOC while the DHOs are alive.

- LifetimeManagementContainer inheritance of HOC is removed, as it is now all DHOs are "unmanaged" (previously `AddInternal(false)`).
- The signature of `Clear` is changed, and it is now always not disposing the children immediately.
2021-04-29 14:38:01 +09:00
..
PoolableDrawableWithLifetime.cs Always use LifetimeEntry to manage hit objects in HitObjectContainer 2021-04-29 14:38:01 +09:00