summaryrefslogtreecommitdiffstats
path: root/source/cWorldGenerator.h
blob: 933105d24be90ab55ee1ffa61b707f3b1e85de96 (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

#pragma once





#include "cChunk.h"
#include "MersenneTwister.h"





class cWorldGenerator
{
public:
	cWorldGenerator();
	~cWorldGenerator();

	virtual void GenerateChunk( cChunkPtr a_Chunk );

protected:

	MTRand r1;

	virtual void GenerateTerrain( cChunkPtr a_Chunk );
	virtual void GenerateFoliage( cChunkPtr a_Chunk );

};