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

BrickGame: Remember the "Show Shadow Piece" setting between executions

by using the ConfigServer.
This commit is contained in:
Karol Baraniecki 2023-04-08 01:49:21 +02:00 committed by Jelle Raaijmakers
parent 439076df8a
commit f532f9d279
3 changed files with 12 additions and 2 deletions

View file

@ -477,6 +477,11 @@ void BrickGame::set_show_shadow_hint(bool should_show)
repaint();
}
bool BrickGame::show_shadow_hint()
{
return m_show_shadow_hint;
}
void BrickGame::timer_event(Core::TimerEvent&)
{
switch (m_brick_game->state()) {