diff --git a/osu.Game.Modes.Catch/CatchRuleset.cs b/osu.Game.Modes.Catch/CatchRuleset.cs index 2cdd35cf3a..08edeb7bcb 100644 --- a/osu.Game.Modes.Catch/CatchRuleset.cs +++ b/osu.Game.Modes.Catch/CatchRuleset.cs @@ -4,7 +4,6 @@ using OpenTK.Input; using osu.Game.Beatmaps; using osu.Game.Graphics; -using osu.Game.Modes.Catch.Beatmaps; using osu.Game.Modes.Catch.UI; using osu.Game.Modes.Objects; using osu.Game.Modes.UI; @@ -92,10 +91,5 @@ public override IEnumerable GetModsFor(ModType type) public override HitObjectParser CreateHitObjectParser() => new NullHitObjectParser(); public override DifficultyCalculator CreateDifficultyCalculator(Beatmap beatmap) => new CatchDifficultyCalculator(beatmap); - - public override IBeatmapConverter CreateBeatmapConverter() - { - return (IBeatmapConverter)new CatchBeatmapConverter(); - } } } diff --git a/osu.Game.Modes.Mania/ManiaRuleset.cs b/osu.Game.Modes.Mania/ManiaRuleset.cs index 0aef44cd7b..e6e9cfd799 100644 --- a/osu.Game.Modes.Mania/ManiaRuleset.cs +++ b/osu.Game.Modes.Mania/ManiaRuleset.cs @@ -3,7 +3,6 @@ using osu.Game.Beatmaps; using osu.Game.Graphics; -using osu.Game.Modes.Mania.Beatmaps; using osu.Game.Modes.Mania.UI; using osu.Game.Modes.Objects; using osu.Game.Modes.UI; @@ -107,10 +106,5 @@ public override IEnumerable GetModsFor(ModType type) public override HitObjectParser CreateHitObjectParser() => new NullHitObjectParser(); public override DifficultyCalculator CreateDifficultyCalculator(Beatmap beatmap) => new ManiaDifficultyCalculator(beatmap); - - public override IBeatmapConverter CreateBeatmapConverter() - { - return (IBeatmapConverter)new ManiaBeatmapConverter(); - } } } diff --git a/osu.Game.Modes.Osu/OsuRuleset.cs b/osu.Game.Modes.Osu/OsuRuleset.cs index a61bda5bb3..0c46ece6da 100644 --- a/osu.Game.Modes.Osu/OsuRuleset.cs +++ b/osu.Game.Modes.Osu/OsuRuleset.cs @@ -5,7 +5,6 @@ using osu.Game.Beatmaps; using osu.Game.Graphics; using osu.Game.Modes.Objects; -using osu.Game.Modes.Osu.Beatmaps; using osu.Game.Modes.Osu.Objects; using osu.Game.Modes.Osu.UI; using osu.Game.Modes.UI; @@ -119,10 +118,5 @@ public override Score CreateAutoplayScore(Beatmap beatmap) new KeyCounterMouse(MouseButton.Left), new KeyCounterMouse(MouseButton.Right) }; - - public override IBeatmapConverter CreateBeatmapConverter() - { - return (IBeatmapConverter)new OsuBeatmapConverter(); - } } } diff --git a/osu.Game.Modes.Taiko/TaikoRuleset.cs b/osu.Game.Modes.Taiko/TaikoRuleset.cs index 3765862229..418519d90c 100644 --- a/osu.Game.Modes.Taiko/TaikoRuleset.cs +++ b/osu.Game.Modes.Taiko/TaikoRuleset.cs @@ -5,7 +5,6 @@ using osu.Game.Beatmaps; using osu.Game.Graphics; using osu.Game.Modes.Objects; -using osu.Game.Modes.Taiko.Beatmaps; using osu.Game.Modes.Taiko.UI; using osu.Game.Modes.UI; using osu.Game.Screens.Play; @@ -93,10 +92,5 @@ public override IEnumerable GetModsFor(ModType type) public override HitObjectParser CreateHitObjectParser() => new NullHitObjectParser(); public override DifficultyCalculator CreateDifficultyCalculator(Beatmap beatmap) => new TaikoDifficultyCalculator(beatmap); - - public override IBeatmapConverter CreateBeatmapConverter() - { - return (IBeatmapConverter)new TaikoBeatmapConverter(); - } } } diff --git a/osu.Game/Modes/Ruleset.cs b/osu.Game/Modes/Ruleset.cs index 54137b2402..d8892e64e9 100644 --- a/osu.Game/Modes/Ruleset.cs +++ b/osu.Game/Modes/Ruleset.cs @@ -37,8 +37,6 @@ public abstract class Ruleset public abstract DifficultyCalculator CreateDifficultyCalculator(Beatmap beatmap); - public abstract IBeatmapConverter CreateBeatmapConverter() where T : HitObject; - public static void Register(Ruleset ruleset) => availableRulesets.TryAdd(ruleset.PlayMode, ruleset.GetType()); protected abstract PlayMode PlayMode { get; }