summaryrefslogtreecommitdiffstats
path: root/source/WGFlat.h
blob: a1f2d2244837380fcaa094203125c834081c6b2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

// WGFlat.h

// Interfaces to the cWGFlat class representing the flat world generator





#pragma once

#include "cWorldGenerator.h"





class cWGFlat :
	public cWorldGenerator
{
	typedef cWorldGenerator super;
	
protected:
	int m_Height;
	
	virtual void GenerateChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, BLOCKTYPE * a_BlockData, cEntityList & a_Entities, cBlockEntityList & a_BlockEntities) override;
	virtual void PostGenerateChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ) override;
	
public:
	cWGFlat(cWorld * a_World);
} ;