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

BrickGame: Add a menu option to disable the shadow drop hint

This commit is contained in:
Karol Baraniecki 2023-04-08 01:37:25 +02:00 committed by Jelle Raaijmakers
parent f3f14a7ef1
commit 439076df8a
3 changed files with 14 additions and 1 deletions

View file

@ -26,6 +26,7 @@ public:
void reset();
void toggle_pause();
void set_show_shadow_hint(bool);
private:
BrickGame(StringView app_name);
@ -48,6 +49,7 @@ private:
GameState m_state {};
NonnullOwnPtr<Bricks> m_brick_game;
unsigned m_high_score {};
bool m_show_shadow_hint { true };
Color m_back_color { Color::from_rgb(0x8fbc8f) };
Color m_front_color { Color::Black };