From 583b9a005ebd447d39c0515e2692178cc1dfe7b9 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Tue, 30 Jan 2018 15:49:28 +0000 Subject: Update card & pile with comp operators for sorting --- src/main/game/card.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/game/card.h') diff --git a/src/main/game/card.h b/src/main/game/card.h index aec6a88..318cd12 100644 --- a/src/main/game/card.h +++ b/src/main/game/card.h @@ -48,6 +48,10 @@ private: bool operator==(const card&, const card&); bool operator!=(const card&, const card&); +bool operator<(const card&, const card&); +bool operator>(const card&, const card&); +bool operator<=(const card&, const card&); +bool operator>=(const card&, const card&); #endif //SOLITAIRE_PIP_CARD_H -- cgit v1.2.1