mirror of
https://github.com/RGBCube/serenity
synced 2026-01-14 03:21:01 +00:00
Because `card->value() == 11` is a lot less clear than `card->rank() == Cards::Rank::Queen`, and also safer. Put this, along with the `Suit` enum, in the `Cards` namespace directly instead of inside `Cards::Card`. Slightly less typing that way. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Game.cpp | ||
| Game.h | ||
| Hearts.gml | ||
| Helpers.h | ||
| main.cpp | ||
| Player.cpp | ||
| Player.h | ||
| ScoreCard.cpp | ||
| ScoreCard.h | ||
| SettingsDialog.cpp | ||
| SettingsDialog.h | ||