diff options
Diffstat (limited to 'Userland/Games/Solitaire/Game.h')
-rw-r--r-- | Userland/Games/Solitaire/Game.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Games/Solitaire/Game.h b/Userland/Games/Solitaire/Game.h index 14831881b7..9e2f1e87a0 100644 --- a/Userland/Games/Solitaire/Game.h +++ b/Userland/Games/Solitaire/Game.h @@ -174,6 +174,7 @@ private: void create_new_animation_card(); void set_background_fill_enabled(bool); void check_for_game_over(); + void clear_hovered_card(); virtual void paint_event(GUI::PaintEvent&) override; virtual void mousedown_event(GUI::MouseEvent&) override; @@ -203,6 +204,8 @@ private: uint8_t m_passes_left_before_punishment { 0 }; bool m_auto_collect { false }; + + RefPtr<Card> m_hovered_card; }; } |