Beispiel #1
0
 static void AllColor(CardInscription active, int quantity, List <Card> cards)// all but not black :(
 {
     for (int i = 0; i < 4; i++)
     {
         for (int j = 0; j < quantity; j++)
         {
             cards.Add(new Card((ColorEnum)i + active.ToString(), (ColorEnum)i, active, false));
         }
     }
 }
Beispiel #2
0
 public CardInscription Active;//inscription
 public override string ToString()
 {
     return(Active.ToString());
 }