summaryrefslogtreecommitdiffstats
path: root/src/Render.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Render.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Render.hpp b/src/Render.hpp
index 636c4c7..83b3d1a 100644
--- a/src/Render.hpp
+++ b/src/Render.hpp
@@ -3,13 +3,16 @@
#include <SFML/Window.hpp>
#include "Shader.hpp"
+#include "RendererWorld.hpp"
class Render {
sf::Window *window;
bool isRunning=true;
bool isMouseCaptured = false;
float mouseXDelta, mouseYDelta;
- Shader *shader;
+ std::unique_ptr<RendererWorld> world;
+ bool renderWorld = false;
+ RenderState renderState;
void SetMouseCapture(bool IsCaptured);