feat: world class

This commit is contained in:
Floriansylvain
2025-12-28 18:06:02 +01:00
parent 37f22cad70
commit 1babe31f47
4 changed files with 50 additions and 13 deletions
+2 -6
View File
@@ -8,10 +8,8 @@
#include <SFML/System/Vector2.hpp>
#include "DebugUI.hpp"
#include "GridLines.hpp"
#include "Lighting.hpp"
#include "Player.hpp"
#include "Walls.hpp"
#include "World.hpp"
constexpr bool VSYNC = true;
constexpr int WIDTH = 1920;
@@ -28,10 +26,8 @@ private:
sf::RenderWindow window;
sf::View worldView;
Player player;
World world;
DebugUI debug;
GridLines gridLines;
Walls walls;
Lighting lighting;
void onResize();