1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 11:20:24 +08:00

Remove all non-load Game access.

This commit is contained in:
Dean Herbert
2016-10-10 17:17:26 +09:00
Unverified
parent 48bd998f46
commit 4052a665bf
34 changed files with 129 additions and 100 deletions
+5 -4
View File
@@ -16,6 +16,7 @@ using osu.Game.Graphics.Containers;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Input;
using osu.Framework;
namespace osu.Game.GameModes.Menu
{
@@ -63,9 +64,9 @@ namespace osu.Game.GameModes.Menu
RelativeSizeAxes = Axes.Both;
}
public override void Load()
public override void Load(BaseGame game)
{
base.Load();
base.Load(game);
Children = new Drawable[]
{
@@ -346,9 +347,9 @@ namespace osu.Game.GameModes.Menu
this.text = text;
}
public override void Load()
public override void Load(BaseGame game)
{
base.Load();
base.Load(game);
Alpha = 0;
Children = new Drawable[]