summaryrefslogtreecommitdiff
path: root/Meta/CMake
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-08-20 20:21:33 +0100
committerAndreas Kling <kling@serenityos.org>2022-08-22 12:50:41 +0200
commitaac2488d5c8ac3119c17db06776c41c3649372b6 (patch)
tree9eda5142be80f8e27063e1421028d63fa0968965 /Meta/CMake
parent163a74e3e2f73bca7f68e34fc087a735a120eaff (diff)
downloadserenity-aac2488d5c8ac3119c17db06776c41c3649372b6.zip
LibCards+Games: Replace card "value" int with a Rank enum
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.
Diffstat (limited to 'Meta/CMake')
0 files changed, 0 insertions, 0 deletions