mirror of https://github.com/ppy/osu
Move methods below ctor
This commit is contained in:
parent
81e842f6b4
commit
0ebdf90dfa
|
@ -22,10 +22,6 @@ public class WaveformTestBeatmap : WorkingBeatmap
|
|||
{
|
||||
private readonly ITrackStore trackStore;
|
||||
|
||||
private Stream getStream() => TestResources.GetTestBeatmapStream();
|
||||
|
||||
private ZipArchiveReader getZipReader() => new ZipArchiveReader(getStream());
|
||||
|
||||
public WaveformTestBeatmap(AudioManager audioManager)
|
||||
: base(new BeatmapInfo(), audioManager)
|
||||
{
|
||||
|
@ -38,6 +34,10 @@ protected override void Dispose(bool isDisposing)
|
|||
trackStore?.Dispose();
|
||||
}
|
||||
|
||||
private Stream getStream() => TestResources.GetTestBeatmapStream();
|
||||
|
||||
private ZipArchiveReader getZipReader() => new ZipArchiveReader(getStream());
|
||||
|
||||
protected override IBeatmap GetBeatmap() => createTestBeatmap();
|
||||
|
||||
protected override Texture GetBackground() => null;
|
||||
|
|
Loading…
Reference in New Issue