Seal the ruleset creation methods and let abstract method take their place

Also makes `CreatePlayerRuleset()` and `CreateRulesetForSkinProvider()` not-null to avoid unwanted behaviour with their derivers
This commit is contained in:
Salman Ahmed
2020-04-23 13:25:06 +03:00
parent 0a0ea39431
commit 2fa47992dc
18 changed files with 58 additions and 39 deletions

View File

@ -16,6 +16,6 @@ namespace osu.Game.Rulesets.Catch.Tests
typeof(CatchRuleset),
};
protected override Ruleset CreateRuleset() => new CatchRuleset();
protected override Ruleset CreatePlayerRuleset() => new CatchRuleset();
}
}