X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FWorld.hpp;h=2fd312c7ce39efb990ed2be07b16f0ce6b7313a8;hb=ede25c0a2f59e21521d1cd962e6ea9d78169ca12;hp=2c343dc7fd5a857e87c4705ee6ed1d972d311643;hpb=551573ecb04969696f916aeb5485658e298a7f6b;p=blank.git diff --git a/src/world/World.hpp b/src/world/World.hpp index 2c343dc..2fd312c 100644 --- a/src/world/World.hpp +++ b/src/world/World.hpp @@ -6,7 +6,6 @@ #include "Entity.hpp" #include "Generator.hpp" #include "../graphics/ArrayTexture.hpp" -#include "../model/shapes.hpp" #include #include @@ -50,7 +49,7 @@ public: bool Intersection(const Entity &e, std::vector &); void Resolve(Entity &e, std::vector &); - BlockTypeRegistry &BlockTypes() noexcept { return blockType; } + BlockTypeRegistry &BlockTypes() noexcept { return block_type; } ChunkLoader &Loader() noexcept { return chunks; } Entity &Player() { return *player; } @@ -64,10 +63,7 @@ public: void Render(Viewport &); private: - BlockTypeRegistry blockType; - CuboidShape blockShape; - StairShape stairShape; - CuboidShape slabShape; + BlockTypeRegistry block_type; ArrayTexture block_tex;