1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 10:42:54 +08:00

Rename UnmanagedHitObjectEntry -> SyntheticHitObjectEntry

"Unmanaged" was confusing because its lifetime is still managed by the HitObjectContainer.
This commit is contained in:
ekrctb 2021-04-21 09:14:22 +09:00
parent c6ee4e900e
commit e80c3c317a
2 changed files with 4 additions and 4 deletions

View File

@ -172,7 +172,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
{
if (initialHitObject != null)
{
lifetimeEntry = new UnmanagedHitObjectEntry(initialHitObject);
lifetimeEntry = new SyntheticHitObjectEntry(initialHitObject);
ensureEntryHasResult();
}
}
@ -227,7 +227,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
if (hitObject == null)
throw new ArgumentNullException($"Cannot apply a null {nameof(HitObject)}.");
Apply(new UnmanagedHitObjectEntry(hitObject));
Apply(new SyntheticHitObjectEntry(hitObject));
}
/// <summary>

View File

@ -9,9 +9,9 @@ namespace osu.Game.Rulesets.Objects
/// 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
internal class SyntheticHitObjectEntry : HitObjectLifetimeEntry
{
public UnmanagedHitObjectEntry(HitObject hitObject)
public SyntheticHitObjectEntry(HitObject hitObject)
: base(hitObject)
{
}