mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Revert unnecessary change of casting
This commit is contained in:
@ -21,7 +21,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// All currently in-use <see cref="DrawableHitObject"/>s.
|
/// All currently in-use <see cref="DrawableHitObject"/>s.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public IEnumerable<DrawableHitObject> Objects => InternalChildren.OfType<DrawableHitObject>().OrderBy(h => h.HitObject.StartTime);
|
public IEnumerable<DrawableHitObject> Objects => InternalChildren.Cast<DrawableHitObject>().OrderBy(h => h.HitObject.StartTime);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// All currently in-use <see cref="DrawableHitObject"/>s that are alive.
|
/// All currently in-use <see cref="DrawableHitObject"/>s that are alive.
|
||||||
@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// If this <see cref="HitObjectContainer"/> uses pooled objects, this is equivalent to <see cref="Objects"/>.
|
/// If this <see cref="HitObjectContainer"/> uses pooled objects, this is equivalent to <see cref="Objects"/>.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public IEnumerable<DrawableHitObject> AliveObjects => AliveInternalChildren.OfType<DrawableHitObject>().OrderBy(h => h.HitObject.StartTime);
|
public IEnumerable<DrawableHitObject> AliveObjects => AliveInternalChildren.Cast<DrawableHitObject>().OrderBy(h => h.HitObject.StartTime);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Invoked when a <see cref="DrawableHitObject"/> is judged.
|
/// Invoked when a <see cref="DrawableHitObject"/> is judged.
|
||||||
|
Reference in New Issue
Block a user