32 lines
645 B
C#
32 lines
645 B
C#
using System;
|
|
using Foundation;
|
|
using UIKit;
|
|
|
|
namespace $safeprojectname$
|
|
{
|
|
[Register("AppDelegate")]
|
|
class Program : UIApplicationDelegate
|
|
{
|
|
private static Game1 game;
|
|
|
|
internal static void RunGame()
|
|
{
|
|
game = new Game1();
|
|
game.Run();
|
|
}
|
|
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
static void Main(string[] args)
|
|
{
|
|
UIApplication.Main(args, null, "AppDelegate");
|
|
}
|
|
|
|
public override void FinishedLaunching(UIApplication app)
|
|
{
|
|
RunGame();
|
|
}
|
|
}
|
|
}
|