public GameViewModel(GameDetected info) { Game = info; Description = info.Game.Description; Platform = info.Game.Platform.ToString(); Culture = info.Game.Culture.DisplayName; }
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); }