static void Main() { FileHelper.RegisterSytsemSecificHandler(new WindowsFileHelper()); using (var game = new MainGame()) game.Run(); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); FileHelper.RegisterSytsemSecificHandler(new AndroidFileHelper()); var g = new MainGame(); SetContentView(g.Services.GetService<View>()); g.Run(); }