summaryrefslogtreecommitdiff
path: root/Games/Snake/SnakeGame.h
diff options
context:
space:
mode:
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 ec04227335..8f8a67c9a9 100644
--- a/Games/Snake/SnakeGame.h
+++ b/Games/Snake/SnakeGame.h
@@ -37,6 +37,7 @@ private:
const Velocity& last_velocity() const;
Rect cell_rect(const Coordinate&) const;
Rect score_rect() const;
+ Rect high_score_rect() const;
int m_rows { 20 };
int m_columns { 20 };
@@ -55,6 +56,8 @@ private:
int m_length { 0 };
unsigned m_score { 0 };
String m_score_text;
+ unsigned m_high_score { 0 };
+ String m_high_score_text;
Vector<Retained<GraphicsBitmap>> m_fruit_bitmaps;
};