mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 13:22:55 +08:00
33 lines
881 B
C#
33 lines
881 B
C#
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||
|
// See the LICENCE file in the repository root for full licence text.
|
||
|
|
||
|
using osu.Framework.Allocation;
|
||
|
using osu.Framework.Graphics;
|
||
|
using osu.Framework.Graphics.Shapes;
|
||
|
using osu.Framework.Platform;
|
||
|
using osu.Game.Tests.Visual;
|
||
|
using osuTK.Graphics;
|
||
|
|
||
|
namespace osu.Game.Rulesets.EmptyFreeform.Tests
|
||
|
{
|
||
|
public class TestSceneOsuGame : OsuTestScene
|
||
|
{
|
||
|
[BackgroundDependencyLoader]
|
||
|
private void load(GameHost host, OsuGameBase gameBase)
|
||
|
{
|
||
|
OsuGame game = new OsuGame();
|
||
|
game.SetHost(host);
|
||
|
|
||
|
Children = new Drawable[]
|
||
|
{
|
||
|
new Box
|
||
|
{
|
||
|
RelativeSizeAxes = Axes.Both,
|
||
|
Colour = Color4.Black,
|
||
|
},
|
||
|
game
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
}
|