diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2019-04-21 16:04:53 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2019-04-21 16:04:53 +0200 |
commit | 9d9a415b9a6e4a9ad75256e10f68e4ce55dd5f95 (patch) | |
tree | f6f962b5ad8188f17cdb10f1a41f48cf7a643e4b /src/RendererWorld.hpp | |
parent | Renamed GlobalState to Game (diff) | |
download | AltCraft-9d9a415b9a6e4a9ad75256e10f68e4ce55dd5f95.tar AltCraft-9d9a415b9a6e4a9ad75256e10f68e4ce55dd5f95.tar.gz AltCraft-9d9a415b9a6e4a9ad75256e10f68e4ce55dd5f95.tar.bz2 AltCraft-9d9a415b9a6e4a9ad75256e10f68e4ce55dd5f95.tar.lz AltCraft-9d9a415b9a6e4a9ad75256e10f68e4ce55dd5f95.tar.xz AltCraft-9d9a415b9a6e4a9ad75256e10f68e4ce55dd5f95.tar.zst AltCraft-9d9a415b9a6e4a9ad75256e10f68e4ce55dd5f95.zip |
Diffstat (limited to '')
-rw-r--r-- | src/RendererWorld.hpp | 9 |
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 |