1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 19:57:36 +00:00

Hearts: Allow player to set their name

Added a new settings dialog to Hearts with a textbox to allow the
player to set a name, which is persisted in the Hearts config file.
This commit is contained in:
Josh Perry 2021-05-23 02:07:20 +01:00 committed by Linus Groh
parent e706de8f91
commit d27616cf36
6 changed files with 104 additions and 4 deletions

View file

@ -24,7 +24,7 @@ public:
virtual ~Game() override;
void setup();
void setup(String player_name);
Function<void(String const&)> on_status_change;