summaryrefslogtreecommitdiffstats
path: root/src/RendererWorld.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RendererWorld.hpp')
-rw-r--r--src/RendererWorld.hpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/RendererWorld.hpp b/src/RendererWorld.hpp
index 913e510..d031179 100644
--- a/src/RendererWorld.hpp
+++ b/src/RendererWorld.hpp
@@ -27,7 +27,6 @@ class RendererWorld {
};
//General
- std::shared_ptr<GameState> gs;
std::unique_ptr<EventListener> listener;
size_t numOfWorkers;
size_t currentWorker = 0;
@@ -51,7 +50,7 @@ class RendererWorld {
Texture *skyTexture;
RendererSky rendererSky;
public:
- RendererWorld(std::shared_ptr<GameState> ptr);
+ RendererWorld();
~RendererWorld();
void Render(RenderState& renderState);
@@ -61,11 +60,5 @@ public:
void Update(double timeToUpdate);
- GameState *GameStatePtr();
-
int culledSections = 0;
-
- inline void UpdateGameState(std::shared_ptr<GameState> newPtr) {
- gs = newPtr;
- }
}; \ No newline at end of file