protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // var g = new MainGame(); var g = new Game1(); //kick off the game! SetContentView((View)g.Services.GetService(typeof(View))); g.Run(); }
protected override void OnCreate(Bundle bundle) { Console.WriteLine("In Activity"); base.OnCreate(bundle); var g = new Game1(); SetContentView((View)g.Services.GetService(typeof(View))); g.Run(); }
static void Main() { using (var game = new Game1()) game.Run(); }
static void Main () { Console.WriteLine("Loading Game"); game = new Game1(); game.Run(); }