Refactor DifficultyAttributes to use auto properties over public fields

This commit is contained in:
Samuel Cattini-Schultz
2021-06-08 19:43:59 +10:00
parent be53b521fc
commit f1bef989b7
5 changed files with 18 additions and 18 deletions

View File

@ -8,11 +8,11 @@ namespace osu.Game.Rulesets.Difficulty
{
public class DifficultyAttributes
{
public Mod[] Mods;
public Skill[] Skills;
public Mod[] Mods { get; set; }
public Skill[] Skills { get; set; }
public double StarRating;
public int MaxCombo;
public double StarRating { get; set; }
public int MaxCombo { get; set; }
public DifficultyAttributes()
{