mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 00:53:22 +08:00
Rename UnmanagedHitObjectEntry -> SyntheticHitObjectEntry
"Unmanaged" was confusing because its lifetime is still managed by the HitObjectContainer.
This commit is contained in:
parent
c6ee4e900e
commit
e80c3c317a
@ -172,7 +172,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
{
|
{
|
||||||
if (initialHitObject != null)
|
if (initialHitObject != null)
|
||||||
{
|
{
|
||||||
lifetimeEntry = new UnmanagedHitObjectEntry(initialHitObject);
|
lifetimeEntry = new SyntheticHitObjectEntry(initialHitObject);
|
||||||
ensureEntryHasResult();
|
ensureEntryHasResult();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -227,7 +227,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
if (hitObject == null)
|
if (hitObject == null)
|
||||||
throw new ArgumentNullException($"Cannot apply a null {nameof(HitObject)}.");
|
throw new ArgumentNullException($"Cannot apply a null {nameof(HitObject)}.");
|
||||||
|
|
||||||
Apply(new UnmanagedHitObjectEntry(hitObject));
|
Apply(new SyntheticHitObjectEntry(hitObject));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -9,9 +9,9 @@ namespace osu.Game.Rulesets.Objects
|
|||||||
/// Created for a <see cref="DrawableHitObject"/> when only <see cref="HitObject"/> is given
|
/// 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"/>.
|
/// to make sure a <see cref="DrawableHitObject"/> is always associated with a <see cref="HitObjectLifetimeEntry"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal class UnmanagedHitObjectEntry : HitObjectLifetimeEntry
|
internal class SyntheticHitObjectEntry : HitObjectLifetimeEntry
|
||||||
{
|
{
|
||||||
public UnmanagedHitObjectEntry(HitObject hitObject)
|
public SyntheticHitObjectEntry(HitObject hitObject)
|
||||||
: base(hitObject)
|
: base(hitObject)
|
||||||
{
|
{
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user