Skip to content

Commit 30b7410

Browse files
authored
Update dependencies
1 parent 5123af5 commit 30b7410

File tree

6 files changed

+20
-17
lines changed

6 files changed

+20
-17
lines changed
Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
using osu.Framework.Allocation;
22
using osu.Framework.Graphics;
3+
using osu.Framework.Graphics.Shapes;
34
using osu.Framework.Platform;
45
using osu.Game.Tests.Visual;
6+
using osuTK.Graphics;
57

68
namespace osu.Game.Rulesets.Sandbox.Tests.Game
79
{
@@ -10,13 +12,16 @@ public class TestSceneOsuGame : OsuTestScene
1012
[BackgroundDependencyLoader]
1113
private void load(GameHost host)
1214
{
13-
OsuGame game = new OsuGame();
14-
game.SetHost(host);
15-
1615
Children = new Drawable[]
1716
{
18-
game
17+
new Box
18+
{
19+
RelativeSizeAxes = Axes.Both,
20+
Colour = Color4.Black,
21+
},
1922
};
23+
24+
AddGame(new OsuGame());
2025
}
2126
}
2227
}

osu.Game.Rulesets.Sandbox.Tests/osu.Game.Rulesets.Sandbox.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
</PropertyGroup>
1212
<ItemGroup Label="Package References">
1313
<PackageReference Include="Appveyor.TestLogger" Version="2.0.0" />
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
1515
<PackageReference Include="NUnit" Version="3.13.2" />
16-
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
16+
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
1717
<PackageReference Update="Microsoft.EntityFrameworkCore.Sqlite" Version="2.1.4" />
1818
</ItemGroup>
1919
<ItemGroup>

osu.Game.Rulesets.Sandbox/Screens/FlappyDon/Components/Bird.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
using System;
2-
using osu.Framework.Allocation;
1+
using osu.Framework.Allocation;
32
using osu.Framework.Audio.Sample;
43
using osu.Framework.Graphics;
54
using osu.Framework.Graphics.Animations;
6-
using osu.Framework.Graphics.Audio;
75
using osu.Framework.Graphics.Containers;
86
using osu.Framework.Graphics.Primitives;
97
using osu.Framework.Graphics.Textures;

osu.Game.Rulesets.Sandbox/Screens/Visualizer/VisualizerScreen.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using osu.Framework.Graphics;
44
using osu.Framework.Graphics.Containers;
55
using osu.Framework.Input.Bindings;
6+
using osu.Framework.Input.Events;
67
using osu.Framework.Screens;
78
using osu.Game.Input.Bindings;
89
using osu.Game.Rulesets.Sandbox.Configuration;
@@ -58,9 +59,9 @@ protected override void LoadComplete()
5859
new VisualizerSection()
5960
};
6061

61-
public bool OnPressed(GlobalAction action)
62+
public bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
6263
{
63-
switch (action)
64+
switch (e.Action)
6465
{
6566
case GlobalAction.Back:
6667
this.Exit();
@@ -70,7 +71,7 @@ public bool OnPressed(GlobalAction action)
7071
return false;
7172
}
7273

73-
public void OnReleased(GlobalAction action)
74+
public void OnReleased(KeyBindingReleaseEvent<GlobalAction> e)
7475
{
7576
}
7677
}

osu.Game.Rulesets.Sandbox/UI/Settings/SandboxSettings.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ protected override void LoadComplete()
5252
FinishTransforms(true);
5353
}
5454

55-
public bool OnPressed(GlobalAction action)
55+
public bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
5656
{
5757
if (!IsVisible.Value)
5858
return false;
5959

60-
switch (action)
60+
switch (e.Action)
6161
{
6262
case GlobalAction.Back:
6363
IsVisible.Value = false;
@@ -67,7 +67,7 @@ public bool OnPressed(GlobalAction action)
6767
return false;
6868
}
6969

70-
public void OnReleased(GlobalAction action)
70+
public void OnReleased(KeyBindingReleaseEvent<GlobalAction> e)
7171
{
7272
}
7373

osu.Game.Rulesets.Sandbox/osu.Game.Rulesets.Sandbox.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<EmbeddedResource Include="Resources\**\*" />
1212
</ItemGroup>
1313
<ItemGroup>
14-
<PackageReference Include="ppy.osu.Framework" Version="2021.728.0" />
15-
<PackageReference Include="ppy.osu.Game" Version="2021.731.0" />
14+
<PackageReference Include="ppy.osu.Game" Version="2021.916.0" />
1615
</ItemGroup>
1716
</Project>

0 commit comments

Comments
 (0)