Example #1
0
 protected override void OnCreate(Bundle bundle)
 {
     base.OnCreate(bundle);
     ObscuroGame.Activity = this;
     var g = new ObscuroGame(PlatformTypes.Android);
     SetContentView(g.Window);
     g.Run();
 }
Example #2
0
 static void Main()
 {
     // Set desktop resolution to 1280x720
     using (var game = new ObscuroGame(PlatformTypes.Windows))
         game.Run();
 }