Exemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Exemplo n.º 2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            Microsoft.Xna.Framework.Game.Activity = this;
            var g = new Game1();
            SetContentView(g.Window);
            g.Run();
        }
Exemplo n.º 3
0
        // Constructor
        public GamePage()
        {
            InitializeComponent();

            _game = XamlGame<Game1>.Create("", this);

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }
Exemplo n.º 4
0
 public override void FinishedLaunching(UIApplication app)
 {
     // Fun begins..
     game = new Game1();
     game.Run();
 }
Exemplo n.º 5
0
 public override void FinishedLaunching(MonoMac.Foundation.NSObject notification)
 {
     game = new Game1();
     game.Run();
 }