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 @@ public CatcherAnimationState CurrentState
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)