aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/pile.h
diff options
context:
space:
mode:
authorCharlie Blake2018-01-18 23:57:52 +0000
committerGitHub2018-01-18 23:57:52 +0000
commitbcaff64bdeaab93ff0d40dfd039b4b43ff689b1c (patch)
tree7882812349716607773458b1c830579de802793f /src/main/game/pile.h
parentMerge pull request #29 from thecharlesblake/refactor-improve-debug (diff)
parentRemoves unnecessary assert statement bug (diff)
downloadmetasol-bcaff64bdeaab93ff0d40dfd039b4b43ff689b1c.tar.gz
metasol-bcaff64bdeaab93ff0d40dfd039b4b43ff689b1c.zip

Merge pull request #30 from thecharlesblake/symmetrical-hash

Symmetrical hash

Diffstat (limited to 'src/main/game/pile.h')
-rw-r--r--src/main/game/pile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/game/pile.h b/src/main/game/pile.h
index f2600fe..411f890 100644
--- a/src/main/game/pile.h
+++ b/src/main/game/pile.h
@@ -15,6 +15,10 @@ class pile {
public:
typedef uint8_t size_type;
+ pile() = default;
+ pile(std::vector<card>);
+ pile(std::initializer_list<card>);
+
// Inspect
card top_card() const;
bool empty() const;