Ejemplo n.º 1
0
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			game = new Game1();
			game.Run();

			return true;
		}
Ejemplo n.º 2
0
        // Constructor
        public GamePage()
        {
            InitializeComponent();

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

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }
Ejemplo n.º 3
0
		protected override void OnCreate(Bundle bundle)
		{
			base.OnCreate(bundle);

			Android.Util.Log.Info ("CocosSharp", "OnCreate");

			var game = new Game1();
			this.SetContentView((View)game.Services.GetService(typeof(View)));
			game.Run(GameRunBehavior.Asynchronous);
		}
Ejemplo n.º 4
0
		public override void FinishedLaunching (NSObject notification)
		{
			game = new Game1();
			game.Run();
		}