Esempio n. 1
0
        /// <summary>
        /// Fires on activation, begins game and pulls list of saved games.
        /// </summary>
        protected async override void OnActivate()
        {
            Playing = false;
            await _game.BeginGame();

            var players = await _game.GetSavedGamesList();

            _players = new BindableCollection <CharacterDisplay>(_mapper.Map <List <CharacterDisplay> >(players));
            base.OnActivate();
        }