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