mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 07:07:45 +08:00
28 lines
962 B
C#
28 lines
962 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 System.Reflection;
|
|
using Android.App;
|
|
using Android.OS;
|
|
using osu.Framework.Android;
|
|
|
|
namespace osu.Game.Tests.Android
|
|
{
|
|
[Activity(ConfigurationChanges = DEFAULT_CONFIG_CHANGES, Exported = true, LaunchMode = DEFAULT_LAUNCH_MODE, MainLauncher = true)]
|
|
public class MainActivity : AndroidGameActivity
|
|
{
|
|
protected override Framework.Game CreateGame() => new OsuTestBrowser();
|
|
|
|
protected override void OnCreate(Bundle? savedInstanceState)
|
|
{
|
|
base.OnCreate(savedInstanceState);
|
|
|
|
// See the comment in OsuGameActivity
|
|
Assembly.Load("osu.Game.Rulesets.Osu");
|
|
Assembly.Load("osu.Game.Rulesets.Taiko");
|
|
Assembly.Load("osu.Game.Rulesets.Catch");
|
|
Assembly.Load("osu.Game.Rulesets.Mania");
|
|
}
|
|
}
|
|
}
|