mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:27:34 +00:00
Snake: Import skeleton of a new snake game.
This commit is contained in:
parent
54af44e354
commit
eca9494adf
5 changed files with 99 additions and 0 deletions
11
Games/Snake/SnakeGame.h
Normal file
11
Games/Snake/SnakeGame.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGUI/GWidget.h>
|
||||
|
||||
class SnakeGame : public GWidget {
|
||||
public:
|
||||
explicit SnakeGame(GWidget* parent);
|
||||
|
||||
private:
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue