diff options
Diffstat (limited to 'src/game/shared/world/voxel_storage.hh')
| -rw-r--r-- | src/game/shared/world/voxel_storage.hh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/game/shared/world/voxel_storage.hh b/src/game/shared/world/voxel_storage.hh index ac7f03d..ef427b3 100644 --- a/src/game/shared/world/voxel_storage.hh +++ b/src/game/shared/world/voxel_storage.hh @@ -3,18 +3,12 @@ #include "shared/const.hh" #include "shared/types.hh" -namespace io -{ class ReadBuffer; class WriteBuffer; -} // namespace io -namespace world -{ class VoxelStorage final : public std::array<voxel_id, CHUNK_VOLUME> { public: using std::array<voxel_id, CHUNK_VOLUME>::array; - void serialize(io::WriteBuffer& buffer) const; - void deserialize(io::ReadBuffer& buffer); + void serialize(WriteBuffer& buffer) const; + void deserialize(ReadBuffer& buffer); }; -} // namespace world |
