コード例 #1
0
 public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
 {
     Logger.Start();
     try
     {
         game = new Game1();
         game.Run(Microsoft.Xna.Framework.GameRunBehavior.Synchronous);
     }
     catch (Exception e)
     {
         Logger.Log(e);
     }
     Logger.Finish();
 }
コード例 #2
0
 static void Main()
 {
     Logger.Start();
     try
     {
         game = new Game1();
         game.Run();
     }
     catch (Exception e)
     {
         Logger.Log(e);
     }
     Logger.Finish();
 }