Add project files.

This commit is contained in:
Marc-Eric Martel
2021-09-13 12:10:06 -04:00
parent 6ea5765574
commit 48d35dcf7c
12 changed files with 324 additions and 0 deletions

20
SQCSim2021/blockarray3d.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef BLOCKARRAY3D_H__
#define BLOCKARRAY3D_H__
#include "define.h"
class BlockArray3d {
public:
BlockArray3d();
BlockArray3d(BlockArray3d& ba);
~BlockArray3d();
protected:
void Set(int x, int y, int z, BlockType type);
BlockType Get(int x, int y, int z) const;
void Reset(BlockType type);
private:
int* arr;
};
#endif