Esempio n. 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main()
 {
     using (MarbletsGame game = new MarbletsGame())
     {
         game.Run();
     }
 }
Esempio n. 2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main()
 {
     using(MarbletsGame game = new MarbletsGame())
     {
         game.Run();
     }
 }
Esempio n. 3
0
		protected override void OnCreate (Bundle bundle)
		{
			base.OnCreate (bundle);

			MarbletsGame g = new MarbletsGame(this);
            SetContentView(g.Window);
            g.Run();
		}
Esempio n. 4
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            // Fun begins..
            MonoGameGame = new MarbletsGame();
            MonoGameGame.Run();

            return(true);
        }
Esempio n. 5
0
        public override void FinishedLaunching(UIApplication app)
        {
            // Fun begins..
            game = new MarbletsGame ();
            game.Run ();

            //MediaLibrary lib = new MediaLibrary();
            //object result = lib.Playlists;
        }
Esempio n. 6
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            MarbletsGame.Activity = this;
            game = new MarbletsGame();
            SetContentView(game.Window);
            game.Run();
        }
Esempio n. 7
0
        public override void FinishedLaunching(UIApplication app)
        {
            // Fun begins..
            game = new MarbletsGame();
            game.Run();

            //MediaLibrary lib = new MediaLibrary();
            //object result = lib.Playlists;
        }
Esempio n. 8
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate (bundle);

            MarbletsGame.Activity = this;
            game = new MarbletsGame();
            SetContentView(game.Window);
            game.Run();
        }
Esempio n. 9
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            MarbletsGame g = new MarbletsGame(this);

            SetContentView(g.Window);
            g.Run();
        }
Esempio n. 10
0
        public override void FinishedLaunching(UIApplication application)
        {
            var bounds = UIScreen.MainScreen.Bounds;
            var scale  = UIScreen.MainScreen.Scale;

            Point size = new Point((int)bounds.Width, (int)bounds.Height);

            // This seems to be required, despite what is in the info.plist...

            // Landscape Mode:
            //application.StatusBarOrientation = UIInterfaceOrientation.LandscapeRight;
            //if(size.Y > size.X)
            //	size = new Point(size.Y, size.X);

            // Portrait Mode:
            application.StatusBarOrientation = UIInterfaceOrientation.Portrait;
            if (size.X > size.Y)
            {
                size = new Point(size.Y, size.X);
            }

            game = new MarbletsGame();
            game.Run();
        }
Esempio n. 11
0
 public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
 {
     game = new MarbletsGame();
     game.Run();
 }
Esempio n. 12
0
 static void Main()
 {
     game = new MarbletsGame ();
     game.Run ();
 }
Esempio n. 13
0
 public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
 {
     using (MarbletsGame game = new MarbletsGame ()) {
         game.Run ();
     }
 }
Esempio n. 14
0
 static void Main()
 {
     game = new MarbletsGame();
     game.Run();
 }