Simplify process of adding catcher trails

This commit is contained in:
Salman Ahmed
2020-04-21 11:41:53 +03:00
parent a82efa626e
commit ee62739b08
2 changed files with 10 additions and 23 deletions

View File

@ -33,9 +33,7 @@ namespace osu.Game.Rulesets.Catch.UI
{
RelativeSizeAxes = Axes.X;
Height = CATCHER_SIZE;
Child = MovableCatcher = new Catcher(difficulty);
MovableCatcher.SetAdditiveTarget(this);
Child = MovableCatcher = new Catcher(difficulty, this);
}
public static float GetCatcherSize(BeatmapDifficulty difficulty)