aboutsummaryrefslogtreecommitdiff
path: root/src/main/card.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/card.h')
-rw-r--r--src/main/card.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/card.h b/src/main/card.h
index 13507f0..ef6ae58 100644
--- a/src/main/card.h
+++ b/src/main/card.h
@@ -9,11 +9,11 @@
class card {
public:
- card();
card(int, int);
card(const char*);
int get_rank() const;
char get_suit() const;
+ int get_suit_val() const;
private:
int rank;
@@ -21,6 +21,7 @@ private:
};
std::ostream & operator<<(std::ostream &, card const &);
+bool operator==(const card&, const card&);
#endif //SOLITAIRE_PIP_CARD_H