1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:47:45 +00:00

Hearts: Add key combinations to letting the AI play for you

A single card can be played with F10 while Shift-F10 toggles the AI
for the current as well as all future tricks.
This commit is contained in:
Gunnar Beutner 2021-05-23 15:48:42 +02:00 committed by Andreas Kling
parent 2dfced2501
commit 6a194869cf
3 changed files with 11 additions and 4 deletions

View file

@ -38,6 +38,7 @@ public:
Gfx::TextAlignment name_alignment;
Gfx::IntPoint taken_cards_target;
String name;
bool is_human { false };
};
}