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

            SetContentView((View)g.Services.GetService(typeof(View)));
            g.Run();
        }