summaryrefslogtreecommitdiffstats
path: root/src/RendererWorld.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/RendererWorld.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/RendererWorld.hpp b/src/RendererWorld.hpp
index 4e098e5..751f1a7 100644
--- a/src/RendererWorld.hpp
+++ b/src/RendererWorld.hpp
@@ -20,6 +20,8 @@ class RendererWorld {
std::mutex isParsingMutex;
std::map<Vector, bool> isParsing;
//Blocks
+ std::mutex renderDataMutex;
+ std::queue<RendererSectionData> renderData;
std::vector<Vector> renderList;
std::mutex sectionsMutex;
std::map<Vector, RendererSection> sections;
@@ -43,6 +45,5 @@ public:
void Update(double timeToUpdate);
- std::mutex renderDataMutex;
- std::queue<RendererSectionData> renderData;
+ GameState *GameStatePtr();
}; \ No newline at end of file