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:
parent
ee1a4a06e0
commit
a07c178a02
4 changed files with 37 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue