示例#1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            var g = new FreeFallGame(FreeFallGame.Platform.ANDROID);

            SetContentView((View)g.Services.GetService(typeof(View)));
            g.Run();
        }
示例#2
0
 static void Main()
 {
     using (var game = new FreeFallGame(FreeFallGame.Platform.MAC))
     {
         game.IsMouseVisible           = true;
         game.Window.AllowUserResizing = true;
         //game.Window.Title = "FreeFall";
         game.Run();
     }
 }
示例#3
0
 internal static void RunGame()
 {
     game = new FreeFallGame(FreeFallGame.Platform.IOS);
     game.Run();
 }