summaryrefslogtreecommitdiff
path: root/Games/Snake/SnakeGame.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-20 04:00:32 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-20 04:00:32 +0200
commit6ef8e2df5a6c5689d6993cfb5395e7d334a2bc90 (patch)
treedf5c36381440c34a5d5ab5eafbf1ad1c8e3bbf10 /Games/Snake/SnakeGame.h
parent09c087177c533c06f3726c63b749cb291db3f542 (diff)
downloadserenity-6ef8e2df5a6c5689d6993cfb5395e7d334a2bc90.zip
Snake: Use a vegetable icon for the fruit.
Diffstat (limited to 'Games/Snake/SnakeGame.h')
-rw-r--r--Games/Snake/SnakeGame.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Games/Snake/SnakeGame.h b/Games/Snake/SnakeGame.h
index 20c926ff70..3102e029e9 100644
--- a/Games/Snake/SnakeGame.h
+++ b/Games/Snake/SnakeGame.h
@@ -50,4 +50,7 @@ private:
Coordinate m_fruit;
int m_length { 0 };
+ unsigned m_score { 0 };
+
+ RetainPtr<GraphicsBitmap> m_fruit_bitmap;
};