SyndicatQuebecoisdelaConstr.../SQCSim2021/chunk.h
2021-09-17 10:03:32 -04:00

21 lines
332 B
C++

#ifndef CHUNK_H__
#define CHUNK_H__
#include "define.h"
#include "blockarray3d.h"
class Chunk : public BlockArray3d {
public:
Chunk();
Chunk(Chunk& chk);
virtual ~Chunk();
void RemoveBlock(int x, int y, int z);
void SetBlock(int x, int y, int z, BlockType type);
BlockType GetBlock(int x, int y, int z) const;
};
#endif