mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
25 lines
947 B
C#
25 lines
947 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.Game.Rulesets.Objects.Drawables;
|
|
|
|
namespace osu.Game.Rulesets.Objects
|
|
{
|
|
/// <summary>
|
|
/// Created for a <see cref="DrawableHitObject"/> when only <see cref="HitObject"/> is given
|
|
/// to make sure a <see cref="DrawableHitObject"/> is always associated with a <see cref="HitObjectLifetimeEntry"/>.
|
|
/// </summary>
|
|
internal class UnmanagedHitObjectEntry : HitObjectLifetimeEntry
|
|
{
|
|
public readonly DrawableHitObject DrawableHitObject;
|
|
|
|
public UnmanagedHitObjectEntry(HitObject hitObject, DrawableHitObject drawableHitObject)
|
|
: base(hitObject)
|
|
{
|
|
DrawableHitObject = drawableHitObject;
|
|
LifetimeStart = DrawableHitObject.LifetimeStart;
|
|
LifetimeEnd = DrawableHitObject.LifetimeEnd;
|
|
}
|
|
}
|
|
}
|