diff --git a/osu.Game.Rulesets.Mania/Judgements/HitWindows.cs b/osu.Game.Rulesets.Mania/Judgements/HitWindows.cs index 7428f34882..2a0ce88506 100644 --- a/osu.Game.Rulesets.Mania/Judgements/HitWindows.cs +++ b/osu.Game.Rulesets.Mania/Judgements/HitWindows.cs @@ -119,10 +119,17 @@ namespace osu.Game.Rulesets.Mania.Judgements /// public double Miss = miss_mid; + /// + /// Constructs default hit windows. + /// public HitWindows() { } + /// + /// Constructs hit windows by fitting a parameter to a 2-part piecewise linear function for each hit window. + /// + /// The parameter. public HitWindows(double difficulty) { Perfect = BeatmapDifficulty.DifficultyRange(difficulty, perfect_max, perfect_mid, perfect_min); @@ -133,6 +140,11 @@ namespace osu.Game.Rulesets.Mania.Judgements Miss = BeatmapDifficulty.DifficultyRange(difficulty, miss_max, miss_mid, miss_min); } + /// + /// Constructs new hit windows which have been multiplied by a value. + /// + /// The original hit windows. + /// The value to multiply each hit window by. public static HitWindows operator *(HitWindows windows, double value) { return new HitWindows @@ -146,6 +158,11 @@ namespace osu.Game.Rulesets.Mania.Judgements }; } + /// + /// Constructs new hit windows which have been divided by a value. + /// + /// The original hit windows. + /// The value to divide each hit window by. public static HitWindows operator /(HitWindows windows, double value) { return new HitWindows