mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 16:52:55 +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;
|
this.audioManager = audioManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override IBeatmap GetPlayableBeatmap()
|
protected override IBeatmap GetBeatmap()
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -40,7 +40,7 @@ namespace osu.Game.Beatmaps
|
|||||||
this.game = 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");
|
protected override Texture GetBackground() => game.Textures.Get(@"Backgrounds/bg4");
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ namespace osu.Game.Beatmaps
|
|||||||
Process.Start(path);
|
Process.Start(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected abstract IBeatmap GetPlayableBeatmap();
|
protected abstract IBeatmap GetBeatmap();
|
||||||
protected abstract Texture GetBackground();
|
protected abstract Texture GetBackground();
|
||||||
protected abstract Track GetTrack();
|
protected abstract Track GetTrack();
|
||||||
protected virtual Skin GetSkin() => new DefaultSkin();
|
protected virtual Skin GetSkin() => new DefaultSkin();
|
||||||
@ -71,7 +71,7 @@ namespace osu.Game.Beatmaps
|
|||||||
|
|
||||||
private IBeatmap populateBeatmap()
|
private IBeatmap populateBeatmap()
|
||||||
{
|
{
|
||||||
var b = GetPlayableBeatmap() ?? new Beatmap();
|
var b = GetBeatmap() ?? new Beatmap();
|
||||||
|
|
||||||
// use the database-backed info.
|
// use the database-backed info.
|
||||||
b.BeatmapInfo = BeatmapInfo;
|
b.BeatmapInfo = BeatmapInfo;
|
||||||
|
@ -24,7 +24,7 @@ namespace osu.Game.Tests.Beatmaps
|
|||||||
}
|
}
|
||||||
|
|
||||||
private readonly IBeatmap beatmap;
|
private readonly IBeatmap beatmap;
|
||||||
protected override IBeatmap GetPlayableBeatmap() => beatmap;
|
protected override IBeatmap GetBeatmap() => beatmap;
|
||||||
protected override Texture GetBackground() => null;
|
protected override Texture GetBackground() => null;
|
||||||
|
|
||||||
protected override Track GetTrack()
|
protected override Track GetTrack()
|
||||||
|
Loading…
Reference in New Issue
Block a user