537e1afcb1
New generators should inherit cWorldGenerator and implement their own generation algorithms git-svn-id: http://mc-server.googlecode.com/svn/trunk@117 0a769ca7-a7f5-676a-18bf-c427514a06d6
17 lines
282 B
C++
17 lines
282 B
C++
#pragma once
|
|
|
|
class cChunk;
|
|
class cWorldGenerator
|
|
{
|
|
public:
|
|
cWorldGenerator();
|
|
~cWorldGenerator();
|
|
|
|
virtual void GenerateChunk( cChunk* a_Chunk );
|
|
|
|
protected:
|
|
|
|
virtual void GenerateTerrain( cChunk* a_Chunk );
|
|
virtual void GenerateFoliage( cChunk* a_Chunk );
|
|
|
|
}; |