Move track to MusicController, compiles

This commit is contained in:
smoogipoo
2020-08-04 21:53:00 +09:00
parent 641279ec3e
commit 6e42b8219c
57 changed files with 438 additions and 346 deletions

View File

@ -11,6 +11,7 @@ using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Game.Overlays;
using osu.Game.Screens.Backgrounds;
using osuTK.Graphics;
@ -30,6 +31,9 @@ namespace osu.Game.Screens.Menu
Alpha = 0,
};
[Resolved]
private MusicController musicController { get; set; }
private BackgroundScreenDefault background;
[BackgroundDependencyLoader]
@ -40,7 +44,7 @@ namespace osu.Game.Screens.Menu
pianoReverb = audio.Samples.Get(@"Intro/Welcome/welcome_piano");
Track.Looping = true;
musicController.Looping = true;
}
protected override void LogoArriving(OsuLogo logo, bool resuming)