Ejemplo n.º 1
0
        public override WrappedCard ViewAs(Room room, List <WrappedCard> cards, Player player)
        {
            if (cards.Count == 0 || cards.Count > max_num)
            {
                return(null);
            }

            card.ClearSubCards();
            card.AddSubCards(cards);
            return(card);
        }
Ejemplo n.º 2
0
 public override WrappedCard ViewAs(Room room, List <WrappedCard> cards, Player player)
 {
     if ((!Optional && cards.Count > 0) || cards.Count + Reserved.Count >= MinNum)
     {
         card.ClearSubCards();
         card.AddSubCards(cards);
         card.AddSubCards(Reserved);
         return(card);
     }
     else
     {
         return(null);
     }
 }
Ejemplo n.º 3
0
 public override WrappedCard ViewAs(Room room, List <WrappedCard> cards, Player player)
 {
     if (cards.Count == 0)
     {
         return(null);
     }
     if (cards.Count >= minnum)
     {
         card.ClearSubCards();
         card.AddSubCards(cards);
         return(card);
     }
     else
     {
         return(null);
     }
 }