diff options
Diffstat (limited to 'game/shared/voxel_storage.hh')
| -rw-r--r-- | game/shared/voxel_storage.hh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/game/shared/voxel_storage.hh b/game/shared/voxel_storage.hh deleted file mode 100644 index a31cf3e..0000000 --- a/game/shared/voxel_storage.hh +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef SHARED_VOXEL_STORAGE_HH -#define SHARED_VOXEL_STORAGE_HH 1 -#pragma once - -#include "shared/const.hh" -#include "shared/types.hh" - -class ReadBuffer; -class WriteBuffer; - -class VoxelStorage final : public std::array<voxel_id, CHUNK_VOLUME> { -public: - using std::array<voxel_id, CHUNK_VOLUME>::array; - void serialize(WriteBuffer& buffer) const; - void deserialize(ReadBuffer& buffer); -}; - -#endif /* SHARED_VOXEL_STORAGE_HH */ |
