using System; using Foundation; using UIKit; namespace GameStateManagementSample { [Register("AppDelegate")] class Program : UIApplicationDelegate { private static GameStateManagementGame game; internal static void RunGame() { game = new GameStateManagementGame(); game.Run(); } /// /// The main entry point for the application. /// static void Main(string[] args) { UIApplication.Main(args, null, "AppDelegate"); } public override void FinishedLaunching(UIApplication app) { RunGame(); } } }