Exemplo n.º 1
0
        private (bool ret, string badToken) LoadCardsIntoGrid(CardGrid grid, string saveString)
        {
            var ret = grid.Deserialize(saveString, ",");

            if (!ret.ret)
            {
                return(ret);
            }

            foreach (var card in grid.Cards)
            {
                LayoutRoot.Children.Add(card);
            }

            grid.SetCardPositionsNoAnimation();


            return(true, "");
        }