Make BeatmapInfo expose Ruleset instead of PlayMode.

This commit is contained in:
smoogipooo
2017-04-15 05:01:36 +09:00
parent 59bfc7abad
commit a89af273be
8 changed files with 14 additions and 12 deletions

View File

@ -54,7 +54,10 @@ namespace osu.Game.Database
public bool Countdown { get; set; }
public float StackLeniency { get; set; }
public bool SpecialStyle { get; set; }
public PlayMode Mode { get; set; }
public int Mode { get; set; }
public Ruleset Ruleset => RulesetCollection.GetRuleset(Mode);
public bool LetterboxInBreaks { get; set; }
public bool WidescreenStoryboard { get; set; }