public static bool DoesCardMatch(Card cardToCheck, Values value) { if (cardToCheck.Value == value) { return true; } else { return false; } }
public static bool DoesCardMatch(Card cardToCheck, Suits suit) { if (cardToCheck.Suit == suit) { return true; } else { return false; } }
public void TakeCard(Card card) { cards.Add(card); }
public void TakeCard(Card card) { this.cards.Add(card); }
public void Add(Card cardtoAdd) { this.cards.Add(cardtoAdd); }
public void Add(Card cardToAdd) { cards.Add(cardToAdd); }
public CardAnimation(Card c, Vector2 pos, Quaternion rot) { card = c; destination = pos; rotation = rot; }
public CardAnimation(Card c, Vector2 pos) { card = c; destination = pos; rotation = Quaternion.identity; }