summaryrefslogblamecommitdiffstats
path: root/source/cWorldGenerator.h
blob: 933105d24be90ab55ee1ffa61b707f3b1e85de96 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 

             










                             





                            
                                                         


           








                                                           
 

#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 );

};