mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Merge pull request #25536 from peppy/combo-commenting
Improve commenting around `IHasCombo` interfaces
This commit is contained in:
commit
b30a4ab3a9
@ -16,6 +16,12 @@ namespace osu.Game.Rulesets.Objects.Types
|
||||
/// <summary>
|
||||
/// When starting a new combo, the offset of the new combo relative to the current one.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This is generally a setting provided by a beatmap creator to choreograph interesting colour patterns
|
||||
/// which can only be achieved by skipping combo colours with per-hitobject level.
|
||||
///
|
||||
/// It is exposed via <see cref="IHasComboInformation.ComboIndexWithOffsets"/>.
|
||||
/// </remarks>
|
||||
int ComboOffset { get; }
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,9 @@ namespace osu.Game.Rulesets.Objects.Types
|
||||
/// </summary>
|
||||
public interface IHasComboInformation : IHasCombo
|
||||
{
|
||||
/// <summary>
|
||||
/// Bindable exposure of <see cref="IndexInCurrentCombo"/>.
|
||||
/// </summary>
|
||||
Bindable<int> IndexInCurrentComboBindable { get; }
|
||||
|
||||
/// <summary>
|
||||
@ -19,13 +22,21 @@ namespace osu.Game.Rulesets.Objects.Types
|
||||
/// </summary>
|
||||
int IndexInCurrentCombo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Bindable exposure of <see cref="ComboIndex"/>.
|
||||
/// </summary>
|
||||
Bindable<int> ComboIndexBindable { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The index of this combo in relation to the beatmap.
|
||||
///
|
||||
/// In other words, this is incremented by 1 each time a <see cref="NewCombo"/> is reached.
|
||||
/// </summary>
|
||||
int ComboIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Bindable exposure of <see cref="ComboIndexWithOffsets"/>.
|
||||
/// </summary>
|
||||
Bindable<int> ComboIndexWithOffsetsBindable { get; }
|
||||
|
||||
/// <summary>
|
||||
@ -39,6 +50,9 @@ namespace osu.Game.Rulesets.Objects.Types
|
||||
/// </summary>
|
||||
new bool NewCombo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Bindable exposure of <see cref="LastInCombo"/>.
|
||||
/// </summary>
|
||||
Bindable<bool> LastInComboBindable { get; }
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user