예제 #1
0
 public void move(Cards.Card c, column dest)
 {
     foreach (column x in cardColumns)
     {
         if (x.isin(c))
         {
             x.remove(c);
         }
     }
     dest.add(c);
 }
예제 #2
0
        public void remove(Cards.Card x)
        {
            cards.Remove(x);

            refresh();
        }
예제 #3
0
 public bool isin(Cards.Card x)
 {
     return(cards.Contains(x));
 }
예제 #4
0
 public void add(Cards.Card x)
 {
     cards.Add(x);
     refresh();
 }