Fix most warnings.

This commit is contained in:
Dean Herbert
2017-03-07 10:59:19 +09:00
parent 9106c45858
commit 0cad5d7d41
168 changed files with 504 additions and 473 deletions

View File

@ -19,8 +19,8 @@ namespace osu.Game.Screens
return other?.GetType() == GetType();
}
const float transition_length = 500;
const float x_movement_amount = 50;
private const float transition_length = 500;
private const float x_movement_amount = 50;
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
{
@ -28,7 +28,7 @@ namespace osu.Game.Screens
return false;
}
Framework.Game game;
private Framework.Game game;
[BackgroundDependencyLoader]
private void load(Framework.Game game)
@ -58,7 +58,7 @@ namespace osu.Game.Screens
protected override void Update()
{
base.Update();
Content.Scale = new Vector2(1 + (x_movement_amount / DrawSize.X) * 2);
Content.Scale = new Vector2(1 + x_movement_amount / DrawSize.X * 2);
}
protected override void OnEntering(Screen last)