Ejemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (PlatformerGame game = new PlatformerGame())
     {
         game.Run();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 private static void Main(string[] args)
 {
     using (PlatformerGame game = new PlatformerGame())
     {
         game.Run();
     }
 }
Ejemplo n.º 3
0
 internal static void RunGame()
 {
     game = new PlatformerGame();
     game.Run();
                 #if !__IOS__ && !__TVOS__
     game.Dispose();
                 #endif
 }
Ejemplo n.º 4
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            NSApplication.Init();

            //using (var game = new Game1())
            using (PlatformerGame game = new PlatformerGame())
            {
                game.Run();
            }
        }
Ejemplo n.º 5
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            _game = new PlatformerGame();
            _view = _game.Services.GetService(typeof(View)) as View;

            SetContentView(_view);
            _game.Run();
        }
Ejemplo n.º 6
0
 internal static void RunGame()
 {
     game = new PlatformerGame();
     game.Run();
 }
Ejemplo n.º 7
0
 static void Main()
 {
     using (var game = new PlatformerGame())
         game.Run();
 }