X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld.hpp;h=4823c47b0c8c0ec804f62f10c5d83f4e5c2dbd04;hb=8acc3f990f1a5ee00471f72c150b407164149f2d;hp=461da5623f5874c7fae25e9923359eaa29e4ead5;hpb=9c1f7b20394808f7ec7a6cadd9e0dd665c6f6bd5;p=blank.git diff --git a/src/world.hpp b/src/world.hpp index 461da56..4823c47 100644 --- a/src/world.hpp +++ b/src/world.hpp @@ -4,7 +4,7 @@ #include "block.hpp" #include "chunk.hpp" #include "entity.hpp" -#include "noise.hpp" +#include "generator.hpp" #include "shader.hpp" #include "shape.hpp" @@ -44,17 +44,13 @@ public: void Render(DirectionalLighting &); -private: - void Generate(Chunk &); - private: BlockTypeRegistry blockType; CuboidShape blockShape; StairShape stairShape; CuboidShape slabShape; - SimplexNoise blockNoise; - SimplexNoise colorNoise; + Generator generate; Entity player; Chunk::Pos player_chunk;