private void Application_Startup(object sender, StartupEventArgs e) { //TargetDevice.Initialize(); RootVisual = new Page(); TargetDevice.Initialize<MyGame>(); }
private void Application_Startup(object sender, StartupEventArgs e) { //TargetDevice.Initialize(); RootVisual = new Page(); /* * TargetDevice.Initialize<MyGame>(); Platform.Initialize(); var game = Runtime.Instance.CreateGame<MyGame>(); Runtime.Instance.RegisterGame(game); * */ //MyGame = TargetDevice.Initialize<MyGame>(); }