コード例 #1
0
        public void CreateNewPile(FlinchCardInformation thisCard) // because this appears to be the only game that has it this way. (?)
        {
            BasicPileInfo <FlinchCardInformation> ThisPile = new BasicPileInfo <FlinchCardInformation>();

            ThisPile.ObjectList.Add(thisCard);
            PileList.Add(ThisPile); // the bindings should do what it needs to (because of observable) well see
        }
コード例 #2
0
        public void AddCardToPile(int pile, FlinchCardInformation thisCard)
        {
            var thisPile = PileList[pile];

            thisPile.ObjectList.Add(thisCard); // i think its this simple
        }