diff options
| author | thecharlesblake | 2018-01-30 15:49:28 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-01-30 15:49:28 +0000 |
| commit | 583b9a005ebd447d39c0515e2692178cc1dfe7b9 (patch) | |
| tree | 0f134d7b22f78543c73d0524db6bd5d64f8fa20b /src/main/game/card.h | |
| parent | Update global cache to insert ordered vec (diff) | |
| download | metasol-583b9a005ebd447d39c0515e2692178cc1dfe7b9.tar.gz metasol-583b9a005ebd447d39c0515e2692178cc1dfe7b9.zip | |
Update card & pile with comp operators for sorting
Diffstat (limited to 'src/main/game/card.h')
| -rw-r--r-- | src/main/game/card.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
