Add basic juice stream selection blueprint

This commit is contained in:
ekrctb
2021-06-22 11:39:04 +09:00
parent b8ccfe6ea7
commit c28cd5dd75
3 changed files with 64 additions and 0 deletions

View File

@ -1,6 +1,7 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Allocation;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Objects;
@ -33,6 +34,9 @@ namespace osu.Game.Rulesets.Catch.Edit
// TODO: confine in bounds
hitObject.OriginalXBindable.Value += deltaX;
foreach (var nested in hitObject.NestedHitObjects.OfType<CatchHitObject>())
nested.OriginalXBindable.Value += deltaX;
});
return true;