summaryrefslogtreecommitdiff
path: root/Userland/Games/Snake/Game.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Games/Snake/Game.h')
-rw-r--r--Userland/Games/Snake/Game.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/Snake/Game.h b/Userland/Games/Snake/Game.h
index 5244fadc7c..0e4b91c065 100644
--- a/Userland/Games/Snake/Game.h
+++ b/Userland/Games/Snake/Game.h
@@ -30,7 +30,7 @@ public:
Function<bool(u32)> on_score_update;
private:
- explicit Game(NonnullRefPtrVector<Gfx::Bitmap> food_bitmaps);
+ explicit Game(Vector<NonnullRefPtr<Gfx::Bitmap>> food_bitmaps);
virtual void paint_event(GUI::PaintEvent&) override;
virtual void keydown_event(GUI::KeyEvent&) override;
@@ -76,7 +76,7 @@ private:
unsigned m_score { 0 };
bool m_is_new_high_score { false };
- NonnullRefPtrVector<Gfx::Bitmap> m_food_bitmaps;
+ Vector<NonnullRefPtr<Gfx::Bitmap>> m_food_bitmaps;
Gfx::Color m_snake_base_color { Color::Yellow };
};