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

Solitaire: Add statusbar segment to display elapsed time

The timer begins after the new-game animation ends, and stops when
either the game-over animation begins or the new-game animation is
started again.
This commit is contained in:
Timothy Flynn 2021-05-05 14:06:28 -04:00 committed by Andreas Kling
parent ee1a4a06e0
commit a07c178a02
4 changed files with 37 additions and 1 deletions

View file

@ -22,6 +22,8 @@ public:
void setup();
Function<void(uint32_t)> on_score_update;
Function<void()> on_game_start;
Function<void()> on_game_end;
private:
Game();