2023-06-06 16:52:29 +08:00
|
|
|
// 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.Collections.Generic;
|
2023-10-17 15:42:36 +08:00
|
|
|
using osu.Framework.Graphics.Containers;
|
2023-06-06 16:52:29 +08:00
|
|
|
using osu.Game.Rulesets.Catch.UI;
|
|
|
|
using osu.Game.Rulesets.Edit;
|
2023-10-17 15:42:36 +08:00
|
|
|
using osu.Game.Screens.Edit.Compose.Components;
|
2023-06-06 16:52:29 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Catch.Edit
|
|
|
|
{
|
2023-10-17 15:42:36 +08:00
|
|
|
public partial class CatchBeatSnapGrid : BeatSnapGrid
|
2023-06-06 16:52:29 +08:00
|
|
|
{
|
2023-10-17 15:42:36 +08:00
|
|
|
protected override IEnumerable<Container> GetTargetContainers(HitObjectComposer composer) => new[]
|
2023-06-06 16:52:29 +08:00
|
|
|
{
|
2023-10-17 15:42:36 +08:00
|
|
|
((CatchPlayfield)composer.Playfield).UnderlayElements
|
|
|
|
};
|
2023-06-06 16:52:29 +08:00
|
|
|
}
|
|
|
|
}
|