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

FlappyBug: Persist high score to disk

Previously, the high score was only in-memory, so only persisted for as
long as the FlappyBug window was open.
This commit is contained in:
Timothy Flynn 2021-06-22 10:50:54 -04:00 committed by Andreas Kling
parent 25c53e35e7
commit 1a2053781f
3 changed files with 30 additions and 5 deletions

View file

@ -25,6 +25,8 @@ public:
static const int game_width = 560;
static const int game_height = 480;
Function<u32(u32)> on_game_end;
private:
Game();