public PokerCard(CartValue value,CartColor color) { Used = false; this.Value = value; this.Color = color; }
//pouze value public static bool CartInStackExist(List<PokerCard> cart, CartValue value) { foreach (var c in cart) { if (value == c.Value) return true; } return false; }