mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 00:23:01 +08:00
Move OptionsOverlay to OsuGame.
This commit is contained in:
parent
89b11ed099
commit
4426a683ed
@ -35,6 +35,8 @@ namespace osu.Game
|
||||
|
||||
string[] args;
|
||||
|
||||
public OptionsOverlay Options;
|
||||
|
||||
public OsuGame(string[] args = null)
|
||||
{
|
||||
this.args = args;
|
||||
@ -89,6 +91,8 @@ namespace osu.Game
|
||||
}
|
||||
});
|
||||
|
||||
(Options = new OptionsOverlay { Depth = float.MaxValue / 2 }).Preload(game, Add);
|
||||
|
||||
(intro = new Intro
|
||||
{
|
||||
Beatmap = Beatmap
|
||||
|
@ -27,7 +27,6 @@ namespace osu.Game
|
||||
|
||||
protected override string MainResourceFile => @"osu.Game.Resources.dll";
|
||||
|
||||
public OptionsOverlay Options;
|
||||
public APIAccess API;
|
||||
|
||||
protected override Container Content => ratioContainer;
|
||||
@ -80,8 +79,6 @@ namespace osu.Game
|
||||
Fonts.AddStore(new GlyphStore(Resources, @"Fonts/Exo2.0-Black"));
|
||||
Fonts.AddStore(new GlyphStore(Resources, @"Fonts/Exo2.0-BlackItalic"));
|
||||
|
||||
(Options = new OptionsOverlay { Depth = float.MaxValue / 2 }).Preload(game, Add);
|
||||
|
||||
API = new APIAccess()
|
||||
{
|
||||
Username = Config.Get<string>(OsuConfig.Username),
|
||||
|
Loading…
Reference in New Issue
Block a user