2020-06-04 23:36:39 +02:00
|
|
|
|
using System;
|
2020-06-05 16:14:10 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Reflection;
|
2020-06-04 23:36:39 +02:00
|
|
|
|
using Foundation;
|
2020-06-05 16:14:10 +02:00
|
|
|
|
using GameAnalyticsSDK;
|
|
|
|
|
using Newtonsoft.Json;
|
2020-06-04 23:36:39 +02:00
|
|
|
|
using TouchyTickets;
|
|
|
|
|
using UIKit;
|
|
|
|
|
|
|
|
|
|
namespace iOS {
|
|
|
|
|
[Register("AppDelegate")]
|
|
|
|
|
internal class Program : UIApplicationDelegate {
|
|
|
|
|
|
|
|
|
|
private static GameImpl game;
|
|
|
|
|
|
|
|
|
|
private static void RunGame() {
|
2020-06-05 16:14:10 +02:00
|
|
|
|
game = new GameImpl(new IosAnalytics());
|
2020-06-04 23:36:39 +02:00
|
|
|
|
game.Run();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The main entry point for the application.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private static void Main(string[] args) {
|
|
|
|
|
UIApplication.Main(args, null, "AppDelegate");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void FinishedLaunching(UIApplication app) {
|
|
|
|
|
RunGame();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|