diff options
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r-- | src/chunk.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp index a20a12ce..7ef0bc94 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -32,6 +32,13 @@ struct chunk final const_iterator begin() const { return cbegin(); } const_iterator end() const { return cend(); } + bool empty() const; + + chunk() = default; + chunk(chunk&&) = default; + chunk& operator=(chunk&&) = default; + DECLARE_DELETED_COPY_ASSIGNMENT(chunk); + private: std::array<tile, TILE_COUNT> _tiles = {}; }; |