mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
25 lines
628 B
C#
25 lines
628 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
|
|
|
|
using Android.Content;
|
|
using Android.Util;
|
|
using osu.Framework;
|
|
using osu.Framework.Android;
|
|
|
|
namespace SampleGame.Android
|
|
{
|
|
public class SampleGameView : AndroidGameView
|
|
{
|
|
public SampleGameView(Context context, IAttributeSet attrs) :
|
|
base(context, attrs)
|
|
{
|
|
}
|
|
|
|
public SampleGameView(Context context) : base(context)
|
|
{
|
|
}
|
|
|
|
public override Game CreateGame() => new SampleGameGame();
|
|
}
|
|
}
|