Exemple #1
0
        public void AddCardTransfer(CardForTurn c)
        {
            if (CardTransfersByTurn.ContainsKey(c.Turn) == false)
            {
                CardTransfersByTurn.Add(c.Turn, new List <CardForTurn>());
            }

            CardTransfersByTurn[c.Turn].Add(c);
        }
Exemple #2
0
        public void AddCardTransfer(CardForTurn c)
        {
            if (CardTransfersByTurn.Count == 0)
            {
                FirstTurn = c.Player == PlayerEnum.Me ? FirstTurnEnum.Play : FirstTurnEnum.Draw;
            }

            if (CardTransfersByTurn.ContainsKey(c.Turn) == false)
            {
                CardTransfersByTurn.Add(c.Turn, new List <CardForTurn>());
            }

            CardTransfersByTurn[c.Turn].Add(c);
        }