From c06c22547e59c62d6c32b62915c771a0f3737a5d Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Thu, 1 Feb 2018 12:57:50 +0000 Subject: Add default constructor for card & 'divider' card --- src/main/game/card.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/game/card.h') 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; -- cgit v1.2.1