diff --git a/osu.Game.Rulesets.Karaoke.Tests/Editor/ChangeHandlers/Beatmaps/BeatmapStageElementCategoryChangeHandlerTest.cs b/osu.Game.Rulesets.Karaoke.Tests/Editor/ChangeHandlers/Beatmaps/BeatmapStageElementCategoryChangeHandlerTest.cs index 23ceeec58..1336f4761 100644 --- a/osu.Game.Rulesets.Karaoke.Tests/Editor/ChangeHandlers/Beatmaps/BeatmapStageElementCategoryChangeHandlerTest.cs +++ b/osu.Game.Rulesets.Karaoke.Tests/Editor/ChangeHandlers/Beatmaps/BeatmapStageElementCategoryChangeHandlerTest.cs @@ -277,16 +277,6 @@ protected override IStageEffectApplier ConvertToNoteStageAppliers(IEnumerable GetStartAndEndTime(Lyric lyric) { throw new NotImplementedException(); diff --git a/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/Classic/ClassicStageInfo.cs b/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/Classic/ClassicStageInfo.cs index 6403c5479..1bf1624f5 100644 --- a/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/Classic/ClassicStageInfo.cs +++ b/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/Classic/ClassicStageInfo.cs @@ -67,18 +67,6 @@ protected override IStageEffectApplier ConvertToNoteStageAppliers(IEnumerable GetStartAndEndTime(Lyric lyric) { return LyricTimingInfo.GetStartAndEndTime(lyric); diff --git a/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/Preview/PreviewStageInfo.cs b/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/Preview/PreviewStageInfo.cs index a65446309..0cacbac06 100644 --- a/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/Preview/PreviewStageInfo.cs +++ b/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/Preview/PreviewStageInfo.cs @@ -123,17 +123,6 @@ protected override IStageEffectApplier ConvertToNoteStageAppliers(IEnumerable GetStartAndEndTime(Lyric lyric) { var element = layoutCategory.GetElementByItem(lyric); diff --git a/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/StageInfo.cs b/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/StageInfo.cs index ab3849552..562658e5b 100644 --- a/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/StageInfo.cs +++ b/osu.Game.Rulesets.Karaoke/Beatmaps/Stages/StageInfo.cs @@ -34,14 +34,6 @@ private IEnumerable getStageElements(KaraokeHitObject hitObject) = _ => Array.Empty() }; - public double GetPreemptTime(KaraokeHitObject hitObject) => - hitObject switch - { - Lyric lyric => GetPreemptTime(lyric), - Note note => GetPreemptTime(note), - _ => throw new InvalidOperationException() - }; - public Tuple GetStartAndEndTime(KaraokeHitObject hitObject) => hitObject switch { @@ -61,10 +53,6 @@ public double GetPreemptTime(KaraokeHitObject hitObject) => protected abstract IStageEffectApplier ConvertToNoteStageAppliers(IEnumerable elements); - protected abstract double GetPreemptTime(Lyric lyric); - - protected abstract double GetPreemptTime(Note note); - protected abstract Tuple GetStartAndEndTime(Lyric lyric); #endregion