Refactor to encapsulate strain logic into Skill class

As strains are an implementation detail of the current Skill calculations, it makes sense that strain related logic should be encapsulated within the Skill class.
This commit is contained in:
Samuel Cattini-Schultz
2021-04-03 20:47:39 +11:00
parent eb1e850f99
commit 5b2dcea8a8
7 changed files with 49 additions and 51 deletions

View File

@ -21,8 +21,6 @@ namespace osu.Game.Rulesets.Catch.Difficulty
{
private const double star_scaling_factor = 0.153;
protected override int SectionLength => 750;
private float halfCatcherWidth;
public CatchDifficultyCalculator(Ruleset ruleset, WorkingBeatmap beatmap)