mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Now, a DHO is always associated with a HitObjectLifetimeEntry while used. Result is always stored in the entry, and not in the DHO.
21 lines
692 B
C#
21 lines
692 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
|
|
{
|
|
internal class UnmanagedHitObjectEntry : HitObjectLifetimeEntry
|
|
{
|
|
public readonly DrawableHitObject DrawableHitObject;
|
|
|
|
public UnmanagedHitObjectEntry(HitObject hitObject, DrawableHitObject drawableHitObject)
|
|
: base(hitObject)
|
|
{
|
|
DrawableHitObject = drawableHitObject;
|
|
LifetimeStart = DrawableHitObject.LifetimeStart;
|
|
LifetimeEnd = DrawableHitObject.LifetimeEnd;
|
|
}
|
|
}
|
|
}
|