mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
FlappyBug: Convert the main game widget to a GUI::Frame
This commit is contained in:
parent
928364e102
commit
25c53e35e7
2 changed files with 6 additions and 3 deletions
|
@ -10,15 +10,15 @@
|
|||
#include <AK/Random.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibGUI/Application.h>
|
||||
#include <LibGUI/Frame.h>
|
||||
#include <LibGUI/Painter.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
#include <LibGfx/Font.h>
|
||||
#include <LibGfx/StandardCursor.h>
|
||||
|
||||
namespace FlappyBug {
|
||||
|
||||
class Game final : public GUI::Widget {
|
||||
class Game final : public GUI::Frame {
|
||||
C_OBJECT(Game);
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue