Skip to content

Commit

Permalink
removed card equals
Browse files Browse the repository at this point in the history
  • Loading branch information
dskoda1 committed Sep 21, 2016
1 parent 5755ae0 commit 6d2da2b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ class Card {
return this.rank;
}

equals(card) {
if (card instanceof Card) {
return this.getSuit() === card.getSuit() &&
this.getRank() === card.getRank();
}
else {
return false;
}
}

// STATIC CLASS MEMBERS
static validateCombo(combo) {
if (combo
Expand Down

0 comments on commit 6d2da2b

Please sign in to comment.