summaryrefslogtreecommitdiffstats
path: root/src/Render.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-07 17:08:15 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-07 17:08:15 +0200
commit8b275c0b0a1064a813ef14a109b64e1fce461893 (patch)
tree7bb1cc13d2eb9be2a344b4cd35f5e581df970f0d /src/Render.hpp
parent2017-08-05 (diff)
downloadAltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar
AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar.gz
AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar.bz2
AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar.lz
AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar.xz
AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.tar.zst
AltCraft-8b275c0b0a1064a813ef14a109b64e1fce461893.zip
Diffstat (limited to 'src/Render.hpp')
-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);