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

Add some comments

This commit is contained in:
ekrctb 2021-07-26 17:50:10 +09:00
parent bb046fa3b8
commit c08130398c
2 changed files with 7 additions and 0 deletions

View File

@ -92,6 +92,9 @@ namespace osu.Game.Rulesets.Catch.UI
private set => Body.AnimationState.Value = value;
}
/// <summary>
/// Whether the catcher is currently dashing.
/// </summary>
public bool Dashing { get; set; }
/// <summary>

View File

@ -17,6 +17,10 @@ namespace osu.Game.Rulesets.Catch.UI
/// </summary>
public class CatcherTrailDisplay : CompositeDrawable
{
/// <summary>
/// The most recent dash trail added in this container.
/// Only alive (not faded out) trails are considered.
/// </summary>
[CanBeNull]
public CatcherTrail LastDashTrail => dashTrails.Concat(hyperDashTrails)
.OrderByDescending(trail => trail.LifetimeStart)