Remove all non-load Game access.

This commit is contained in:
Dean Herbert
2016-10-10 17:17:26 +09:00
parent 48bd998f46
commit 4052a665bf
34 changed files with 129 additions and 100 deletions

View File

@ -1,4 +1,5 @@
using osu.Framework.GameModes;
using osu.Framework;
using osu.Framework.GameModes;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
@ -12,7 +13,7 @@ using osu.Game.Overlays;
namespace osu.Game
{
public class OsuGameBase : Framework.Game
public class OsuGameBase : Framework.BaseGame
{
internal OsuConfigManager Config = new OsuConfigManager();
@ -27,9 +28,9 @@ namespace osu.Game
public CursorContainer Cursor;
public override void Load()
public override void Load(BaseGame game)
{
base.Load();
base.Load(game);
//this completely overrides the framework default. will need to change once we make a proper FontStore.
Fonts = new TextureStore() { ScaleAdjust = 0.01f };