mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Fix incorrect method name
This commit is contained in:
parent
db3e48c194
commit
794418432f
@ -30,7 +30,7 @@ namespace osu.Game.Beatmaps
|
||||
this.audioManager = audioManager;
|
||||
}
|
||||
|
||||
protected override IBeatmap GetPlayableBeatmap()
|
||||
protected override IBeatmap GetBeatmap()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -40,7 +40,7 @@ namespace osu.Game.Beatmaps
|
||||
this.game = game;
|
||||
}
|
||||
|
||||
protected override IBeatmap GetPlayableBeatmap() => new Beatmap();
|
||||
protected override IBeatmap GetBeatmap() => new Beatmap();
|
||||
|
||||
protected override Texture GetBackground() => game.Textures.Get(@"Backgrounds/bg4");
|
||||
|
||||
|
@ -57,7 +57,7 @@ namespace osu.Game.Beatmaps
|
||||
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 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
private IBeatmap populateBeatmap()
|
||||
{
|
||||
var b = GetPlayableBeatmap() ?? new Beatmap();
|
||||
var b = GetBeatmap() ?? new Beatmap();
|
||||
|
||||
// use the database-backed info.
|
||||
b.BeatmapInfo = BeatmapInfo;
|
||||
|
@ -24,7 +24,7 @@ namespace osu.Game.Tests.Beatmaps
|
||||
}
|
||||
|
||||
private readonly IBeatmap beatmap;
|
||||
protected override IBeatmap GetPlayableBeatmap() => beatmap;
|
||||
protected override IBeatmap GetBeatmap() => beatmap;
|
||||
protected override Texture GetBackground() => null;
|
||||
|
||||
protected override Track GetTrack()
|
||||
|
Loading…
Reference in New Issue
Block a user