mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Improve commenting around IHasCombo
interfaces
Following discusion with smoogi IRL.
This commit is contained in:
parent
7bdee96c07
commit
04640b6fb0
@ -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