mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Make HitObjectContainer.Clear
non-virtual
It just call `Remove` for all entries.
This commit is contained in:
@ -145,10 +145,11 @@ namespace osu.Game.Rulesets.Objects.Pooling
|
||||
/// <summary>
|
||||
/// Remove all <typeparamref name="TEntry"/>s.
|
||||
/// </summary>
|
||||
public virtual void Clear()
|
||||
public void Clear()
|
||||
{
|
||||
foreach (var entry in Entries.ToArray())
|
||||
Remove(entry);
|
||||
|
||||
Debug.Assert(aliveDrawableMap.Count == 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user