示例#1
0
		static void Main()
		{
			FileHelper.RegisterSytsemSecificHandler(new WindowsFileHelper());

			using (var game = new MainGame())
				game.Run();
		}
示例#2
0
		protected override void OnCreate(Bundle savedInstanceState)
		{
			base.OnCreate(savedInstanceState);

			FileHelper.RegisterSytsemSecificHandler(new AndroidFileHelper());

			var g = new MainGame();
			SetContentView(g.Services.GetService<View>());
			g.Run();
		}