예제 #1
0
파일: Program.cs 프로젝트: h7ing/CocosSharp
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			game = new Game1();
			game.Run();

			return true;
		}
예제 #2
0
        // Constructor
        public GamePage()
        {
            InitializeComponent();

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

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }
예제 #3
0
파일: Program.cs 프로젝트: h7ing/CocosSharp
		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);
		}
예제 #4
0
파일: Program.cs 프로젝트: h7ing/CocosSharp
		public override void FinishedLaunching (NSObject notification)
		{
			game = new Game1();
			game.Run();
		}