mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Refactor fruit dropping code
- The repeated `Remove` call was quadratic complexity. Now it is linear time.
This commit is contained in:
@ -15,7 +15,7 @@ namespace osu.Game.Rulesets.Catch.Tests
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
SetContents(() => new Catcher(new Container())
|
||||
SetContents(() => new Catcher(new Container(), new Container())
|
||||
{
|
||||
RelativePositionAxes = Axes.None,
|
||||
Anchor = Anchor.Centre,
|
||||
|
Reference in New Issue
Block a user