protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); var g = new Happiness(); SetContentView((View)g.Services.GetService(typeof(View))); g.Run(); }
/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Happiness game = new Happiness()) { Happiness.Game = game; game.Run(); } }