Retrait d'instances de mc"clone"
This commit is contained in:
		
							
								
								
									
										16
									
								
								SQCSim2021/chunk.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								SQCSim2021/chunk.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
#ifndef CHUNK_H__
 | 
			
		||||
#define CHUNK_H__
 | 
			
		||||
#include "blockarray3d.h"
 | 
			
		||||
 | 
			
		||||
class Chunk : public BlockArray3d
 | 
			
		||||
{
 | 
			
		||||
    public:
 | 
			
		||||
    Chunk();
 | 
			
		||||
    ~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);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#endif // CHUNK_H__
 | 
			
		||||
		Reference in New Issue
	
	Block a user