mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 11:12:55 +08:00
28 lines
904 B
C#
28 lines
904 B
C#
// 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 osu.Framework.Allocation;
|
|
using osu.Game.Rulesets.Catch.Objects;
|
|
using osu.Game.Rulesets.Edit;
|
|
using osu.Game.Rulesets.UI;
|
|
using osu.Game.Rulesets.UI.Scrolling;
|
|
|
|
namespace osu.Game.Rulesets.Catch.Edit.Blueprints
|
|
{
|
|
public partial class CatchPlacementBlueprint<THitObject> : HitObjectPlacementBlueprint
|
|
where THitObject : CatchHitObject, new()
|
|
{
|
|
protected new THitObject HitObject => (THitObject)base.HitObject;
|
|
|
|
protected ScrollingHitObjectContainer HitObjectContainer => (ScrollingHitObjectContainer)playfield.HitObjectContainer;
|
|
|
|
[Resolved]
|
|
private Playfield playfield { get; set; } = null!;
|
|
|
|
public CatchPlacementBlueprint()
|
|
: base(new THitObject())
|
|
{
|
|
}
|
|
}
|
|
}
|