mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 16:27:43 +08:00
update methods
This commit is contained in:
parent
748055ab29
commit
2b6a473164
@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Difficulty.Skills
|
|||||||
private double currentSectionEnd;
|
private double currentSectionEnd;
|
||||||
|
|
||||||
private readonly List<double> strainPeaks = new List<double>();
|
private readonly List<double> strainPeaks = new List<double>();
|
||||||
protected List<double> ObjectStrains = new List<double>(); // Store individual strains
|
protected readonly List<double> ObjectStrains = new List<double>(); // Store individual strains
|
||||||
|
|
||||||
protected StrainSkill(Mod[] mods)
|
protected StrainSkill(Mod[] mods)
|
||||||
: base(mods)
|
: base(mods)
|
||||||
@ -68,7 +68,7 @@ namespace osu.Game.Rulesets.Difficulty.Skills
|
|||||||
/// Calculates the number of strains weighted against the top strain.
|
/// Calculates the number of strains weighted against the top strain.
|
||||||
/// The result is scaled by clock rate as it affects the total number of strains.
|
/// The result is scaled by clock rate as it affects the total number of strains.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double CountDifficultStrains()
|
public virtual double CountDifficultStrains()
|
||||||
{
|
{
|
||||||
if (ObjectStrains.Count == 0)
|
if (ObjectStrains.Count == 0)
|
||||||
return 0.0;
|
return 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user