From b36a278f82961c1a83473667790742bd68e46427 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 19 Dec 2023 15:05:20 +0100 Subject: [PATCH] Create window. --- .gitignore | 1 + game_application.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index d3671cb..96de14c 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ libs/ *.o +game diff --git a/game_application.h b/game_application.h index 5e7fff4..9114a57 100644 --- a/game_application.h +++ b/game_application.h @@ -4,11 +4,15 @@ #include "application.h" #include "game_scene.h" +#include "window.h" class GameApplication : public Application { public: GameApplication() : Application() { scene = new GameScene(); + + AppWindow *w = memnew(AppWindow()); + w->create(100, 0); } ~GameApplication() {