Introduce concept of HitObjectParsers, fix tests and stop using reflection (unreliable due to lazy loading).

This commit is contained in:
Dean Herbert
2016-11-14 22:03:39 +09:00
parent 0011d7f720
commit d3f810f72f
19 changed files with 146 additions and 59 deletions

View File

@ -9,6 +9,10 @@ using osu.Framework.Platform;
using osu.Game.Database;
using osu.Game.IPC;
using osu.Game.Modes;
using osu.Game.Modes.Catch;
using osu.Game.Modes.Mania;
using osu.Game.Modes.Osu;
using osu.Game.Modes.Taiko;
using osu.Game.Screens.Play;
namespace osu.Game.Tests.Beatmaps.IO
@ -21,6 +25,10 @@ namespace osu.Game.Tests.Beatmaps.IO
[OneTimeSetUp]
public void SetUp()
{
Ruleset.Register(new OsuRuleset());
Ruleset.Register(new TaikoRuleset());
Ruleset.Register(new ManiaRuleset());
Ruleset.Register(new CatchRuleset());
}
[Test]