1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 15:27:24 +08:00

Document LastHand and LastNonDragHand

This commit is contained in:
Rian (Reza Mouna Hendrian) 2024-06-09 09:57:41 +08:00
parent f4eead4f78
commit 1a5dc0e805
No known key found for this signature in database
GPG Key ID: 4057289B9AC7284B

View File

@ -45,7 +45,17 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills.Touch
private const int maximum_objects_history = 2;
private const int maximum_difficulty_objects_history = 3;
/// <summary>
/// The hand that hits the previously processed <see cref="OsuHitObject"/>.
/// </summary>
protected TouchHand LastHand { get; private set; } = TouchHand.Right;
/// <summary>
/// The hand that hits the previously processed <see cref="OsuHitObject"/>.
/// </summary>
/// <remarks>
/// Unlike <see cref="LastHand"/>, this does not consider <see cref="TouchHand.Drag"/> as a hand.
/// </remarks>
protected TouchHand LastNonDragHand { get; private set; } = TouchHand.Right;
protected TouchHandSequenceSkill(double clockRate)