mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
the big refactor + extracted data classes from coders/json to data/dynamic
This commit is contained in:
parent
34d4500e24
commit
377c8e5029
36 changed files with 908 additions and 875 deletions
|
|
@ -18,7 +18,7 @@ class ChunksStorage {
|
|||
std::unordered_map<glm::ivec2, std::shared_ptr<Chunk>> chunksMap;
|
||||
public:
|
||||
ChunksStorage(Level* level);
|
||||
virtual ~ChunksStorage();
|
||||
~ChunksStorage() = default;
|
||||
|
||||
std::shared_ptr<Chunk> get(int x, int z) const;
|
||||
void store(std::shared_ptr<Chunk> chunk);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue