Fix incorrect method name

This commit is contained in:
smoogipoo 2018-05-07 11:22:25 +09:00
parent db3e48c194
commit 794418432f
4 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ public BeatmapManagerWorkingBeatmap(IResourceStore<byte[]> store, BeatmapInfo be
this.audioManager = audioManager;
}
protected override IBeatmap GetPlayableBeatmap()
protected override IBeatmap GetBeatmap()
{
try
{

View File

@ -40,7 +40,7 @@ public DummyWorkingBeatmap(OsuGameBase game)
this.game = game;
}
protected override IBeatmap GetPlayableBeatmap() => new Beatmap();
protected override IBeatmap GetBeatmap() => new Beatmap();
protected override Texture GetBackground() => game.Textures.Get(@"Backgrounds/bg4");

View File

@ -57,7 +57,7 @@ public void Save()
Process.Start(path);
}
protected abstract IBeatmap GetPlayableBeatmap();
protected abstract IBeatmap GetBeatmap();
protected abstract Texture GetBackground();
protected abstract Track GetTrack();
protected virtual Skin GetSkin() => new DefaultSkin();
@ -71,7 +71,7 @@ public void Save()
private IBeatmap populateBeatmap()
{
var b = GetPlayableBeatmap() ?? new Beatmap();
var b = GetBeatmap() ?? new Beatmap();
// use the database-backed info.
b.BeatmapInfo = BeatmapInfo;

View File

@ -24,7 +24,7 @@ public TestWorkingBeatmap(IBeatmap beatmap)
}
private readonly IBeatmap beatmap;
protected override IBeatmap GetPlayableBeatmap() => beatmap;
protected override IBeatmap GetBeatmap() => beatmap;
protected override Texture GetBackground() => null;
protected override Track GetTrack()