diff options
Diffstat (limited to 'Userland/Games/Snake/Game.h')
-rw-r--r-- | Userland/Games/Snake/Game.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Games/Snake/Game.h b/Userland/Games/Snake/Game.h index accc97b2c4..41b30933fd 100644 --- a/Userland/Games/Snake/Game.h +++ b/Userland/Games/Snake/Game.h @@ -17,7 +17,6 @@ class Game : public GUI::Frame { C_OBJECT(Game); public: - static ErrorOr<NonnullRefPtr<Game>> create(); virtual ~Game() override = default; void start(); @@ -27,7 +26,7 @@ public: void set_snake_base_color(Color color); private: - explicit Game(NonnullRefPtrVector<Gfx::Bitmap> food_bitmaps); + Game(); virtual void paint_event(GUI::PaintEvent&) override; virtual void keydown_event(GUI::KeyEvent&) override; |