Create window.

This commit is contained in:
Relintai 2023-12-19 15:05:20 +01:00
parent b93fd08530
commit b36a278f82
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -13,4 +13,5 @@ libs/
*.o
game

View File

@ -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() {