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:
parent
439076df8a
commit
f532f9d279
3 changed files with 12 additions and 2 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue