protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); Xamarin.Essentials.Platform.Init(this, bundle); this.MakeFullScreen(); NeonPartyGamesControllerGame.AndroidContext = this; var g = new NeonPartyGamesControllerGame(); g.ExitEvent += () => MoveTaskToBack(true); this.SetContentView((View)g.Services.GetService(typeof(View))); g.Run(); }
static void Main() { using (var game = new NeonPartyGamesControllerGame()) game.Run(); }
internal static void RunGame() { game = new NeonPartyGamesControllerGame(); game.Run(); }