summaryrefslogtreecommitdiff
path: root/Userland/Games/Spider/Game.h
diff options
context:
space:
mode:
authorJamie Mansfield <jmansfield@cadixdev.org>2021-07-15 15:57:03 +0100
committerAndreas Kling <kling@serenityos.org>2021-07-15 20:11:22 +0200
commit882b4dc84834b88b4b1879b8e3e5cadac7212357 (patch)
treeee5e286029e8b584e823fe1f5c4fb4896096871d /Userland/Games/Spider/Game.h
parent0f9873475b8b2279f1cbddca3b5251cbbcfbb584 (diff)
downloadserenity-882b4dc84834b88b4b1879b8e3e5cadac7212357.zip
Spider: Reduce overdraw when playing
Diffstat (limited to 'Userland/Games/Spider/Game.h')
-rw-r--r--Userland/Games/Spider/Game.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Games/Spider/Game.h b/Userland/Games/Spider/Game.h
index cea44a1961..c545d51c4e 100644
--- a/Userland/Games/Spider/Game.h
+++ b/Userland/Games/Spider/Game.h
@@ -67,6 +67,7 @@ private:
void start_timer_if_necessary();
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();