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

LibCards+Spider: Move ensure_top_card_is_visible() logic to CardStack

This commit is contained in:
Sam Atkins 2022-09-28 13:08:07 +01:00 committed by Sam Atkins
parent b26383bc6c
commit 12612703f9
4 changed files with 19 additions and 15 deletions

View file

@ -71,7 +71,6 @@ private:
void update_score(int delta);
void draw_cards();
void mark_intersecting_stacks_dirty(Card& intersecting_card);
void ensure_top_card_is_visible(NonnullRefPtr<CardStack> stack);
void detect_full_stacks();
void detect_victory();
void move_focused_cards(CardStack& stack);