osu/osu.Game.Rulesets.Osu/Edit/Blueprints/HitCircles/HitCircleSelectionBlueprint.cs

28 lines
849 B
C#
Raw Normal View History

// 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.
2018-04-13 09:19:50 +00:00
2018-11-07 07:08:56 +00:00
using osu.Game.Rulesets.Osu.Edit.Blueprints.HitCircles.Components;
using osu.Game.Rulesets.Osu.Objects;
2018-04-13 09:19:50 +00:00
using osu.Game.Rulesets.Osu.Objects.Drawables;
2018-11-07 07:08:56 +00:00
namespace osu.Game.Rulesets.Osu.Edit.Blueprints.HitCircles
2018-04-13 09:19:50 +00:00
{
public class HitCircleSelectionBlueprint : OsuSelectionBlueprint<HitCircle>
2018-04-13 09:19:50 +00:00
{
protected readonly HitCirclePiece CirclePiece;
public HitCircleSelectionBlueprint(DrawableHitCircle drawableCircle)
: base(drawableCircle)
2018-04-13 09:19:50 +00:00
{
InternalChild = CirclePiece = new HitCirclePiece();
}
protected override void Update()
{
base.Update();
CirclePiece.UpdateFrom(HitObject);
2018-04-13 09:19:50 +00:00
}
}
}