mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 13:07:24 +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 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)
|
||||
: base(mods)
|
||||
@ -68,7 +68,7 @@ namespace osu.Game.Rulesets.Difficulty.Skills
|
||||
/// 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.
|
||||
/// </summary>
|
||||
public double CountDifficultStrains()
|
||||
public virtual double CountDifficultStrains()
|
||||
{
|
||||
if (ObjectStrains.Count == 0)
|
||||
return 0.0;
|
||||
|
Loading…
Reference in New Issue
Block a user