예제 #1
0
 public GameViewModel(GameDetected info)
 {
     Game = info;
     Description = info.Game.Description;
     Platform = info.Game.Platform.ToString();
     Culture = info.Game.Culture.DisplayName;
 }
예제 #2
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     var info = e.Parameter as GameDetected;
     Info = info;
     _game = XamlGame<ScummGame>.Create("", Window.Current.CoreWindow, GamePanel);
     _menuService.Game = _game;
     _game.Services.AddService<IMenuService>(_menuService);
 }