2018-02-20 17:01:45 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Framework.Graphics.Containers;
|
|
|
|
|
using osu.Game.Rulesets.Objects.Drawables;
|
|
|
|
|
|
2018-03-14 14:18:21 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Edit
|
2018-02-20 17:01:45 +08:00
|
|
|
|
{
|
2018-03-14 14:18:21 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// A mask placed above a <see cref="DrawableHitObject"/> adding editing functionality.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class HitObjectMask : Container
|
2018-02-20 17:01:45 +08:00
|
|
|
|
{
|
2018-03-09 22:43:50 +08:00
|
|
|
|
public readonly DrawableHitObject HitObject;
|
2018-02-20 17:01:45 +08:00
|
|
|
|
|
2018-03-14 14:18:21 +08:00
|
|
|
|
public HitObjectMask(DrawableHitObject hitObject)
|
2018-02-20 17:01:45 +08:00
|
|
|
|
{
|
2018-03-09 22:43:50 +08:00
|
|
|
|
HitObject = hitObject;
|
2018-03-09 22:12:34 +08:00
|
|
|
|
}
|
2018-02-20 17:01:45 +08:00
|
|
|
|
}
|
|
|
|
|
}
|