public void move(Cards.Card c, column dest) { foreach (column x in cardColumns) { if (x.isin(c)) { x.remove(c); } } dest.add(c); }
public void remove(Cards.Card x) { cards.Remove(x); refresh(); }
public bool isin(Cards.Card x) { return(cards.Contains(x)); }
public void add(Cards.Card x) { cards.Add(x); refresh(); }