aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/card.h
diff options
context:
space:
mode:
authorCharlie Blake2018-02-02 13:04:33 +0000
committerGitHub2018-02-02 13:04:33 +0000
commit3eaf893c7edef511d5d6e7f4bbbf82fe5d1f1dce (patch)
tree2968ee1dc015a65a95d23e93afef764e88c8f36d /src/main/game/card.h
parentMerge pull request #33 from thecharlesblake/fix-benchmark-bug (diff)
parentImprove printout of benchmark script (diff)
downloadmetasol-3eaf893c7edef511d5d6e7f4bbbf82fe5d1f1dce.tar.gz
metasol-3eaf893c7edef511d5d6e7f4bbbf82fe5d1f1dce.zip

Merge pull request #34 from thecharlesblake/reduced_state

Reduced state

Diffstat (limited to 'src/main/game/card.h')
-rw-r--r--src/main/game/card.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/game/card.h b/src/main/game/card.h
index 318cd12..74f513d 100644
--- a/src/main/game/card.h
+++ b/src/main/game/card.h
@@ -27,10 +27,13 @@ public:
static const colour_t Red = 1;
};
+ const static card divider;
+
// A card can either be created using two int values (rank & suit), or
// using a string (e.g. "AS")
card(suit_t, rank_t);
explicit card(const char*);
+ card();
suit_t get_suit() const;
colour_t get_colour() const;